-
Notifications
You must be signed in to change notification settings - Fork 4k
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.squareup.picasso.PicassoProvider #2121
Comments
PicassoProvider has been removed in favor of creating and managing your own Picasso instances using manual or framework-based DI. |
I didn't understand anything you said. How do I solve this problem? |
PicassoProvider was removed here: #2057 Instead, create your own Picasso object and pass it where needed. |
I hit this same error and came here as well.
The real issue is This fixed it for me.
|
Getting this error in production in integration of the in-app messaging feature of Firebase Fatal Exception: java.lang.RuntimeException: Unable to get provider com.squareup.picasso.PicassoProvider: java.lang.ClassNotFoundException: Didn't find class "com.squareup.picasso.PicassoProvider" on path: DexPathList[[zip file "/data/app/com.intspvt.app.dehaat2-IPMYB0TRKbmDabpqZBh-pQ==/base.apk", zip file "/data/app/com.intspvt.app.dehaat2-IPMYB0TRKbmDabpqZBh-pQ==/split_config.arm64_v8a.apk", zip file "/data/app/com.intspvt.app.dehaat2-IPMYB0TRKbmDabpqZBh-pQ==/split_config.xxhdpi.apk"],nativeLibraryDirectories=[/data/app/com.intspvt.app.dehaat2-IPMYB0TRKbmDabpqZBh-pQ==/lib/arm64, /data/app/com.intspvt.app.dehaat2-IPMYB0TRKbmDabpqZBh-pQ==/base.apk!/lib/arm64-v8a, /data/app/com.intspvt.app.dehaat2-IPMYB0TRKbmDabpqZBh-pQ==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/com.intspvt.app.dehaat2-IPMYB0TRKbmDabpqZBh-pQ==/split_config.xxhdpi.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]] |
how to fix it. |
I tried to update the dependency but didn't work.
2019-10-29 12:01:07.723 21430-21430/com.johnny.john.bakingapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.johnny.john.bakingapp, PID: 21430
java.lang.RuntimeException: Unable to get provider com.squareup.picasso.PicassoProvider: java.lang.ClassNotFoundException: Didn't find class "com.squareup.picasso.PicassoProvider" on path: DexPathList[[zip file "/data/app/com.johnny.john.bakingapp-Hv0j5sXQnQA3WUTrON11KQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.johnny.john.bakingapp-Hv0j5sXQnQA3WUTrON11KQ==/lib/x86, /system/lib, /vendor/lib]]
at android.app.ActivityThread.installProvider(ActivityThread.java:6288)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5851)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5772)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1661)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.squareup.picasso.PicassoProvider" on path: DexPathList[[zip file "/data/app/com.johnny.john.bakingapp-Hv0j5sXQnQA3WUTrON11KQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.johnny.john.bakingapp-Hv0j5sXQnQA3WUTrON11KQ==/lib/x86, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
The text was updated successfully, but these errors were encountered: