invertase/react-native-google-mobile-ads

[🐛] Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0. [quick workaround: pin v16.3.4 exact]

Open

#863 geöffnet am 29. Juni 2026

Auf GitHub ansehen
 (7 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)TypeScript (213 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (1.010 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

What happened?

  • Error when upgrade from react-native-google-mobile-ads 16.0.3 to 16.4.0
  • Upgrade Expo from sdk 55 to sdk 56
  • Error: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.

Platforms

Only on Android

React Native Info

e: file:///Users/solominh/.gradle/caches/9.3.1/transforms/2b1125bca4438080c5e305647e6b45ba/transformed/play-services-ads-25.4.0-api.jar!/META-INF/java.com.google.android.libraries.ads.mobile.sdk.internal.util_clock_module.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.

Are your using Typescript?

  • My project is using Typescript

package.json

{}

app.json

{}

ios/Podfile

android/build.gradle

android/app/build.gradle

android/settings.gradle

AndroidManifest.xml

Contributor Guide