Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Android app crashes when the library is installed #50

Open
LeandroGartner opened this issue Oct 11, 2018 · 0 comments
Open

Android app crashes when the library is installed #50

LeandroGartner opened this issue Oct 11, 2018 · 0 comments

Comments

@LeandroGartner
Copy link

Hi, I have followed all the steps for the installation and it works on iOS but doesn't works on Android, the application crashes and it gives me the following error:

10-11 14:19:15.665 8133-8225/com.testApp E/AndroidRuntime: FATAL EXCEPTION: Thread-1997 Process: com.testApp, PID: 8133 java.lang.NoClassDefFoundError: com.zyu.ReactWheelCurvedPicker at libcore.reflect.InternalNames.getClass(InternalNames.java:55) at java.lang.Class.getDexCacheType(Class.java:476) at java.lang.reflect.Method.getReturnType(Method.java:183) at java.lang.Class.getDeclaredMethods(Class.java:678) at com.facebook.react.uimanager.ViewManagersPropertyCache.extractPropSettersFromViewManagerClassDefinition(ViewManagersPropertyCache.java:426) at com.facebook.react.uimanager.ViewManagersPropertyCache.getNativePropSettersForViewManagerClass(ViewManagersPropertyCache.java:320) at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.<init>(ViewManagerPropertyUpdater.java:122) at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.<init>(ViewManagerPropertyUpdater.java:116) at com.facebook.react.uimanager.ViewManagerPropertyUpdater.findManagerSetter(ViewManagerPropertyUpdater.java:79) at com.facebook.react.uimanager.ViewManagerPropertyUpdater.getNativeProps(ViewManagerPropertyUpdater.java:66) at com.facebook.react.uimanager.ViewManager.getNativeProps(ViewManager.java:205) at com.facebook.react.uimanager.UIManagerModuleConstantsHelper.createConstantsForViewManager(UIManagerModuleConstantsHelper.java:147) at com.facebook.react.uimanager.UIManagerModuleConstantsHelper.createConstants(UIManagerModuleConstantsHelper.java:94) at com.facebook.react.uimanager.UIManagerModule.createConstants(UIManagerModule.java:224) at com.facebook.react.uimanager.UIManagerModule.<init>(UIManagerModule.java:148) at com.facebook.react.CoreModulesPackage.createUIManager(CoreModulesPackage.java:175) at com.facebook.react.CoreModulesPackage.access$200(CoreModulesPackage.java:55) at com.facebook.react.CoreModulesPackage$7.get(CoreModulesPackage.java:132) at com.facebook.react.CoreModulesPackage$7.get(CoreModulesPackage.java:129) at com.facebook.react.LazyReactPackage.createNativeModules(LazyReactPackage.java:81) at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:106) at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1202) at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1172) at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1107) at com.facebook.react.ReactInstanceManager.access$900(ReactInstanceManager.java:113) at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:944) at java.lang.Thread.run(Thread.java:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.zyu.ReactWheelCurvedPicker" on path: DexPathList[[zip file "/data/app/com.testApp-1/base.apk", zip file "/data/app/com.testApp-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.testApp-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.testApp-1/lib/arm, /data/app/com.testApp-1/base.apk!/lib/armeabi-v7a, /data/app/com.testApp-1/split_lib_dependencies_apk.apk!/lib/armeabi-v7a, /data/app/com.testApp-1/split_lib_slice_0_apk.apk!/lib/armeabi-v7a, /data/app/com.testApp-1/split_lib_slice_1_apk.apk!/lib/armeabi-v7a, /data/app/com.testApp-1/split_lib_slice_2_apk.apk!/lib/armeabi-v7a, /data/app/com.testApp-1/split_lib_slice_3_apk.apk!/l 10-11 14:19:15.665 1543-3946/? W/ActivityManager: Force finishing activity com.testApp/.MainActivity

Using:
"react": "^16.2.0"
"react-native": "^0.52.0"
"react-native-wheel-picker": "^1.2.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant