Skip to main content
Answered

Build error on Android using React Native


Forum|alt.badge.img

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?

View original
Did this topic help you find an answer to your question?

7 replies

Forum|alt.badge.img

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

Any news?


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

@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?


mateusz.leszkiewicz wrote:

@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+5

@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
mateusz.leszkiewicz wrote:

@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+5

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


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