Skip to main content
Question

Build error on Android using React Native

  • April 3, 2025
  • 1 reply
  • 19 views

Please help. I cannot build a release apk/aab, I’m getting the following error:

 

> Task :app:compileReleaseKotlin FAILED

e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors

e: file:///Users/builder/.gradle/caches/transforms-4/a23eb7edad52ffdf2e2ff09828f4ac13/transformed/jetified-intercom-sdk-base-15.15.1-api.jar!/META-INF/intercom-sdk-base_release.kotlin_moduleModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.

Classes that weren't resolved: > com.google.common.util.concurrent.ListenableFuture

 

I’m using the latest version of the library (8.3.0), and my build.gradle is:

 

buildToolsVersion = "35.0.0"
minSdkVersion = 23
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.22"

 

1 reply

  • Author
  • New Participant
  • 3 replies
  • April 4, 2025

It was working ok a few days ago, and we didn't update anything since then. I think you accidentally broke something internally.

 

I see in the logs that it's trying to build the 15.15.1 sdk version. Does it even exist?

 

Please I need urgent help here. This issue is blocking my production release.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings