You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
When I try to use the library into my existing application.
I always get error
java.lang.NoClassDefFoundError: Failed resolution of: Lapp/akexorcist/bluetotohspp/library/R$id;
When i try to open DeviceList as below
Intent intent = new Intent(getApplicationContext(), DeviceList.class);
startActivityForResult(intent, BluetoothState.REQUEST_CONNECT_DEVICE);
java.lang.NoClassDefFoundError: Failed resolution of: Lapp/akexorcist/bluetotohspp/library/R$id;
at app.akexorcist.bluetotohspp.library.DeviceList.onCreate(DeviceList.java:71)
at android.app.Activity.performCreate(Activity.java:6251)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "app.akexorcist.bluetotohspp.library.R$id" on path: DexPathList[[zip file "/data/app/com.plugie.mesinkasir-2/base.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_dependencies_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_0_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_1_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_2_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_3_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_4_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_5_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_6_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_7_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_8_apk.apk", zip file "/data/app/com.plugie.mesinkasir-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.plugie.mesinkasir-2/lib/arm, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at app.akexorcist.bluetotohspp.library.DeviceList.onCreate(DeviceList.java:71)
at android.app.Activity.performCreate(Activity.java:6251)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Suppressed: java.lang.ClassNotFoundException: app.akexorcist.bluetotohspp.library.R$id
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 14 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I try to use the library into my existing application.
I always get error
java.lang.NoClassDefFoundError: Failed resolution of: Lapp/akexorcist/bluetotohspp/library/R$id;
When i try to open DeviceList as below
Intent intent = new Intent(getApplicationContext(), DeviceList.class);
startActivityForResult(intent, BluetoothState.REQUEST_CONNECT_DEVICE);
Already try as suggested by http://stackoverflow.com/questions/26702179/failing-to-launch-activity-due-to-classnotfoundexception
PSB for detail error
The text was updated successfully, but these errors were encountered: