Didn't find class "com.facebook.jni.NativeRunnable"
See original GitHub issuePull the latest master code, build UIExplorer and install to Genymotion. The UIExplorer will crash everytime.
07-01 20:55:26.045 1836 1836 F art : art/runtime/runtime.cc:366] Pending exception java.lang.ClassNotFoundException: Didn't find class "com.facebook.jni.NativeRunnable" on path: DexPathList[[zip file "/data/app/com.facebook.react.uiapp-1/base.apk"],nativeLibraryDirectories=[/data/app/com.facebook.react.uiapp-1/lib/x86, /data/app/com.facebook.react.uiapp-1/base.apk!/lib/x86, /vendor/lib, /system/lib]]
07-01 20:
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] native: #17 pc 002c26ce /data/dalvik-cache/x86/system@framework@boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_String_2Ljava_lang_ClassLoader_2Ljava_lang_String_2+194)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] native: #18 pc 33242453 ???
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at java.lang.Runtime.nativeLoad(Native method)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at java.lang.Runtime.doLoad(Runtime.java:435)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] - locked <0x087a8393> (a java.lang.Runtime)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at java.lang.Runtime.load(Runtime.java:330)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at java.lang.System.load(System.java:1069)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:63)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:209)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:178)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] - locked <0x06f2ffd0> (a java.lang.Class<com.facebook.soloader.SoLoader>)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.jni.Prerequisites.ensure(Prerequisites.java:32)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.jni.HybridData.<init>(HybridData.java:32)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.react.bridge.WritableNativeMap.initHybrid(Native method)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.react.bridge.WritableNativeMap.<init>(WritableNativeMap.java:63)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.react.JSCConfig$1.getConfigMap(JSCConfig.java:14)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.react.XReactInstanceManagerImpl.onJSBundleLoadedFromServer(XReactInstanceManagerImpl.java:696)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.react.XReactInstanceManagerImpl.recreateReactContextInBackgroundInner(XReactInstanceManagerImpl.java:384)
07-01 20:55:26.046 1836 1836 F art : art/runtime/runtime.cc:366] at com.facebook.react.XReactInstanceManagerImpl.createReactContextInBackground(XReactInstanceManagerImpl.java:355)
07-01 20:55:26.156 102 102 F DEBUG : Abort message: 'art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.ClassNotFoundException: Didn't find class "com.facebook.jni.NativeRunnable" on path: DexPathList[[zip file "/data/app/com.facebook.react.uiapp-1/base.apk"],nativeLibraryDirectories=[/data/app/com.facebook.react.uiapp-1/lib/x86, /data/app/com.facebook.react.uiapp-1/base.apk!/lib/x86, /vendor/lib, /system/lib]]'
07-01 20:
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Didn't find class "com.facebook.jni.NativeRunnable ... - GitHub
facebook.jni.NativeRunnable gets stripped out, and even though NativeRunnable has the @DoNotStrip annotation. The problem is that RN's self ...
Read more >React-Native: Run time crash --> Didn't find class "com ...
React-Native app crash is happening while app is in run time. Here is the log from Android Studio, 2022-11-09 10:55:50.497 ...
Read more >Error: package com facebook/flipper android does not exist
In some Android devices with versions before OS 5.0 we get the error message: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.tools.
Read more >com.facebook.jni.cppexception: could not get batchedbridge ...
CppException: Could not get BatchedBridge, make sure your bundle is packaged correctly at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) at ...
Read more >react-native-ffmpeg - npm Package Health Analysis - Snyk
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I don’t think so. For the best understanding, the source code is the documentation.
Using the new bridge by default was reverted as the gradle build files were not properly updated, lets close this for now.