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

java.lang.NoClassDefFoundError #44

Open
FernandoCCNunes opened this issue Sep 25, 2020 · 0 comments
Open

java.lang.NoClassDefFoundError #44

FernandoCCNunes opened this issue Sep 25, 2020 · 0 comments

Comments

@FernandoCCNunes
Copy link

FernandoCCNunes commented Sep 25, 2020

I'm having this error as soon as the activity launches and the function startCameraPreview() is called, do you have some idea how can I fix this?
I have tried to fork the project but no luck there, having a issue with state.properties not being found or something
Any help is appreciated.

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/camera/core/PreviewConfig$Builder; at com.netguru.arlocalizerview.arview.ARLocalizerView.startCameraPreview(ARLocalizerView.kt:105) at com.netguru.arlocalizerview.arview.ARLocalizerView.access$startCameraPreview(ARLocalizerView.kt:30) at com.netguru.arlocalizerview.arview.ARLocalizerView$checkPermissions$1$1.run(ARLocalizerView.kt:89) at android.os.Handler.handleCallback(Handler.java:914) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:224) at android.app.ActivityThread.main(ActivityThread.java:7560) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950) Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.camera.core.PreviewConfig$Builder" on path: DexPathList[[zip file "/data/app/pt.tetrapi.cmvf.explore-KFNovvFzI1pwYhY_vK34-g==/base.apk"],nativeLibraryDirectories=[/data/app/pt.tetrapi.cmvf.explore-KFNovvFzI1pwYhY_vK34-g==/lib/arm64, /system/lib64, /system/product/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:230) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at com.netguru.arlocalizerview.arview.ARLocalizerView.startCameraPreview(ARLocalizerView.kt:105)  at com.netguru.arlocalizerview.arview.ARLocalizerView.access$startCameraPreview(ARLocalizerView.kt:30)  at com.netguru.arlocalizerview.arview.ARLocalizerView$checkPermissions$1$1.run(ARLocalizerView.kt:89)  at android.os.Handler.handleCallback(Handler.java:914)  at android.os.Handler.dispatchMessage(Handler.java:100)  at android.os.Looper.loop(Looper.java:224)  at android.app.ActivityThread.main(ActivityThread.java:7560)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)  I/Process: Sending signal. PID: 14119 SIG: 9

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