java.lang.ClassNotFoundException

Didn't find class "barcodescanner.xservices.nl.barcodescanner.R$layout" on path: DexPathList[[zip file "/data/app/com.example.testScan-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.testScan-2/lib/arm64, /vendor/lib64, /system/lib64]]

Samebug tips1

You need to setup a GlideModule before use Glide.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web5572

  • Didn't find class "barcodescanner.xservices.nl.barcodescanner.R$layout" on path: DexPathList[[zip file "/data/app/com.example.testScan-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.testScan-2/lib/arm64, /vendor/lib64, /system/lib64]]
  • Didn't find class "barcodescanner.xservices.nl.barcodescanner.R$layout" on path: DexPathList[[zip file "/data/app/com.example.testScan-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.testScan-1/lib/arm64, /vendor/lib64, /system/lib64]]
  • Didn't find class "barcodescanner.xservices.nl.barcodescanner.R$layout" on path: DexPathList[[zip file "/data/app/com.pengqi.ios.union-2/base.apk"],nativeLibraryDirectories=[/data/app/com.pengqi.ios.union-2/lib/arm64, /vendor/lib64, /system/lib64]]
  • Stack trace

    • java.lang.ClassNotFoundException: Didn't find class "barcodescanner.xservices.nl.barcodescanner.R$layout" on path: DexPathList[[zip file "/data/app/com.example.testScan-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.testScan-2/lib/arm64, /vendor/lib64, /system/lib64]] 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 com.google.zxing.client.android.CaptureActivity.onCreate(CaptureActivity.java:142) at android.app.Activity.performCreate(Activity.java:6107) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2594) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2710) at android.app.ActivityThread.access$800(ActivityThread.java:179) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1561) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5803) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1009) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:804)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 5 days ago
    7 times, 6 days ago
    Unknown user
    Once, 1 week ago
    6 times, 2 weeks ago
    Once, 1 month ago
    158 more bugmates