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

Didn't find class "com.luck.picture.lib.basic.PictureFileProvider" #2947

Open
GeminiR opened this issue Oct 31, 2024 · 0 comments
Open

Didn't find class "com.luck.picture.lib.basic.PictureFileProvider" #2947

GeminiR opened this issue Oct 31, 2024 · 0 comments

Comments

@GeminiR
Copy link

GeminiR commented Oct 31, 2024

Current use version?

当前使用的版本是多少?

v3.11.2版本

Will this problem occur in demo?

Demo能否复现这问题?

我本地无法复现,但是线上崩溃激增

Describe the problem or provide an error log?

描述问题或提供错误log?

Didn't find class "com.luck.picture.lib.basic.PictureFileProvider" on path: DexPathList[[zip file "/data/app/com.imile.pdaopt-I9DDSDIYORJDi4of14-CmQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.imile.pdaopt-I9DDSDIYORJDi4of14-CmQ==/lib/arm64, /data/app/com.imile.pdaopt-I9DDSDIYORJDi4of14-CmQ==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:196)
java.lang.ClassLoader.loadClass (ClassLoader.java:379)
java.lang.ClassLoader.loadClass (ClassLoader.java:312)
android.app.AppComponentFactory.instantiateProvider (AppComponentFactory.java:147)
androidx.core.app.CoreComponentFactory.instantiateProvider (CoreComponentFactory.java:1)
android.app.ActivityThread.installProvider (ActivityThread.java:7000)
android.app.ActivityThread.installContentProviders (ActivityThread.java:6556)
android.app.ActivityThread.handleBindApplication (ActivityThread.java:6473)
android.app.ActivityThread.access$1400 (ActivityThread.java:226)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1884)
android.os.Handler.dispatchMessage (Handler.java:107)
android.os.Looper.loop (Looper.java:214)
android.app.ActivityThread.main (ActivityThread.java:7386)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:980)

我看到之前的 issue 里有类似的问题,是因为分包导致的么,系统是 android10,当前项目 minSdk 是 21,默认是开启了 MultiDex 的。想知道关闭的 issue 是怎么处理了这个问题

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