Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

no version-specific reanimated AAR for react-native version 72 found. #6616

Open
Akilramki opened this issue Oct 19, 2024 · 4 comments
Open
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@Akilramki
Copy link

Akilramki commented Oct 19, 2024

Description

WARNING reanimated - no version-specific reanimated AAR for react-native version 72 found.
Falling back to AAR for react-native version 71.
The react-native JSI interface is not ABI-safe yet, this may result in crashes.
Please post a pull request to implement support for react-native version 72 to the reanimated repo.
Thanks!

logs:
E FATAL EXCEPTION: main Process: com.test, PID: 8131
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;
at com.facebook.react.defaults.DefaultReactNativeHost.(Unknown Source:2)
at com.test.MainApplication$1.(MainApplication.java:60)
at com.test.MainApplication.(MainApplication.java:59)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
at androidx.core.app.CoreComponentFactory.instantiateApplication(CoreComponentFactory.java:51)
at android.app.Instrumentation.newApplication(Instrumentation.java:1177)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1356)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6686)
at android.app.ActivityThread.access$1500(ActivityThread.java:247)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2053)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/~~9WxCk3XrE7SQPl1SGfcVBw==/com.test-bI6GMu7mX7VADCnd_HBxrg==/base.apk"],nativeLibraryDirectories=[/data/app/~~9WxCk3XrE7SQPl1SGfcVBw==/com.test-bI6GMu7mX7VADCnd_HBxrg==/lib/arm64, /data/app/~~9WxCk3XrE7SQPl1SGfcVBw==/com.test-bI6GMu7mX7VADCnd_HBxrg==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:218)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.facebook.react.defaults.DefaultReactNativeHost.(Unknown Source:2) 
at com.test.MainApplication$1.(MainApplication.java:60) 
at com.test.MainApplication.(MainApplication.java:59) 
at java.lang.Class.newInstance(Native Method) 
at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76) 
at androidx.core.app.CoreComponentFactory.instantiateApplication(CoreComponentFactory.java:51) 
at android.app.Instrumentation.newApplication(Instrumentation.java:1177) 
at android.app.LoadedApk.makeApplication(LoadedApk.java:1356) 
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6686) 
at android.app.ActivityThread.access$1500(ActivityThread.java:247) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2053) 
at android.os.Handler.dispatchMessage(Handler.java:106) 
at android.os.Looper.loopOnce(Looper.java:201) 
at android.os.Looper.loop(Looper.java:288) 
at android.app.ActivityThread.main(ActivityThread.java:7839) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) 

Steps to reproduce

  1. App installed and Crashed

Snack or a link to a repository

nil

Reanimated version

3.15.5

React Native version

0.72.17

Platforms

Android

JavaScript runtime

None

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Debug app & production bundle

Device

Android emulator

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Oct 19, 2024
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@github-actions github-actions bot added the Platform: Android This issue is specific to Android label Oct 19, 2024
@tomekzaw
Copy link
Member

tomekzaw commented Oct 24, 2024

Hi @Akilramki, this is simply not possible – we don't have "reanimated - no version-specific reanimated AAR" warning since a long time ago.

Are you sure you're using Reanimated 3.15.5?

@Akilramki
Copy link
Author

@tomekzaw yes

@tomekzaw
Copy link
Member

tomekzaw commented Oct 24, 2024

@Akilramki Please share full build logs and your package.json so we can help you.

@tomekzaw tomekzaw reopened this Oct 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

2 participants