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 ouverte le 29 juin 2026

Voir sur GitHub
 (7 commentaires) (3 réactions) (0 assignés)TypeScript (213 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (1 010 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur