Build error on Android using React Native | Community
Skip to main content
Answer

Build error on Android using React Native

  • April 3, 2025
  • 7 replies
  • 299 views

Forum|alt.badge.img+1

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"

 

Best answer by mateusz.leszkiewicz

@Matias Tebele, It’s Mat from the Support Engineering Team 😀

Our latest Android SDK release is 15.16.0, have you tried to install it?

7 replies

Forum|alt.badge.img+1
  • Author
  • Connector
  • 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.


Forum|alt.badge.img+1
  • Author
  • Connector
  • April 14, 2025

Any news?


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+7

@Matias Tebele, It’s Mat from the Support Engineering Team 😀

Our latest Android SDK release is 15.16.0, have you tried to install it?


  • New Participant
  • April 15, 2025

@Matias Tebele, It’s Mat from the Support Engineering Team 😀

Our latest Android SDK release is 15.16.0, have you tried to install it?

We're using the React Native SDK, which latest version was 2 months ago.


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+7

@Nnnsvaysyqpqm can you reach out to us via the Messenger in your workspace and let us investigate this issue in details? 


Forum|alt.badge.img+1
  • Author
  • Connector
  • April 15, 2025

@Matias Tebele, It’s Mat from the Support Engineering Team 😀

Our latest Android SDK release is 15.16.0, have you tried to install it?

We're using the React Native SDK, which latest version was 2 months ago.


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+7

@Matias Tebele Can you reach out to us viw Messenger in your workspace so we can investigate this in detail please?