Expo's EAS android build broken
complete
S
Sébastien F.
I'm trying to use adapty with Expo (with expo-dev-client), which is going fine on iOS so far. On Android, when launching the eas build, I'm getting the following error :
Task :react-native-adapty:compileDebugKotlin
[stderr] e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
[stderr] e: /home/expo/.gradle/caches/transforms-3/2ae867a2e11de942398247e9a7b7c6a4/transformed/jetified-kotlin-stdlib-jdk7-1.6.10.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.1.
I'm using the 2.3.1 react-native-adapty, everything is up to date on expo/eas side.
Adapty Support
complete
I
Ivan Divan
Hello there, I'm Adapty React Native developer.
The fix is already provided in v2.3.2
New Expo SDKs require native libraries to have at least Kotlin v1.6.10. I've written some info on that in GitHub issue here: https://github.com/adaptyteam/AdaptySDK-React-Native/issues/47#issuecomment-1427643386