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

Failed to Build Project #3195

Open
1 task
RAJATNEGI opened this issue Sep 9, 2021 · 1 comment
Open
1 task

Failed to Build Project #3195

RAJATNEGI opened this issue Sep 9, 2021 · 1 comment

Comments

@RAJATNEGI
Copy link

Describe the bug
Build failed to build Successfully

To Reproduce

  1. Clone repo
    2.Try to build on Android studio
  2. Result: Project failed to build

Expected behavior
Build should be successfully build.

Logs
E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.fossasia.phimpme, PID: 6746
java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.startup.InitializationProvider" on path: DexPathList[[zip file "/data/app/org.fossasia.phimpme-kkaMumd2mnSoQ92VlK5Suw==/base.apk"],nativeLibraryDirectories=[/data/app/org.fossasia.phimpme-kkaMumd2mnSoQ92VlK5Suw==/lib/arm64, /data/app/org.fossasia.phimpme-kkaMumd2mnSoQ92VlK5Suw==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
at android.app.ActivityThread.installProvider(ActivityThread.java:7318)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6778)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6628)
at android.app.ActivityThread.access$1700(ActivityThread.java:232)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1966)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.startup.InitializationProvider" on path: DexPathList[[zip file "/data/app/org.fossasia.phimpme-kkaMumd2mnSoQ92VlK5Suw==/base.apk"],nativeLibraryDirectories=[/data/app/org.fossasia.phimpme-kkaMumd2mnSoQ92VlK5Suw==/lib/arm64, /data/app/org.fossasia.phimpme-kkaMumd2mnSoQ92VlK5Suw==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:147)
at androidx.core.app.CoreComponentFactory.instantiateProvider(CoreComponentFactory.java:67)
at android.app.ActivityThread.installProvider(ActivityThread.java:7278)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6778) 
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6628) 
at android.app.ActivityThread.access$1700(ActivityThread.java:232) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1966) 
at android.os.Handler.dispatchMessage(Handler.java:107) 
at android.os.Looper.loop(Looper.java:214) 
at android.app.ActivityThread.main(ActivityThread.java:7710) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950) 

Screenshots
Capture

Smartphone Info:

Device
Android Version

Additional context

Would you like to work on the issue?
I like to work on this issue

  • [1 ] Yes
  • No
  • Other:
@RAJATNEGI
Copy link
Author

@abishekvashok can i work on this 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