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 创建于 2026年6月29日

在 GitHub 查看
 (7 评论) (3 反应) (0 负责人)TypeScript (213 fork)github user discovery
help wanted

仓库指标

Star
 (1,010 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南