괴수
30
2020-05-25 20:23:26 작성 2020-05-25 20:28:14 수정됨
0
176

[안드로이드 스튜디오] 두개의 프로젝트 합치는 과정 질문


다른 두개의 프로젝트를 합친 후 오류를 다 해결하고 휴대폰에 앱을 돌려보니 앱이 중지되었습니다.

그래서 로그캣으로 에러를 보니 캡쳐된 사진같은 결과를 얻었습니다. 

하지만 수정을 못 하겠어서 질문을 올립니다. 도와주시면 정말 감사하겠습니다.ㅠㅠㅠㅠ

아래 글과 사진은 로그캣으로 얻은 결과입니다!!

「2020-05-25 20:08:56.606 27943-27943/? E/Zygote: isWhitelistProcess - Process is Whitelisted

2020-05-25 20:08:56.608 27943-27943/? E/libpersona: scanKnoxPersonas

2020-05-25 20:08:56.608 27943-27943/? E/libpersona: Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory

2020-05-25 20:08:56.918 27943-27943/? E/AndroidRuntime: FATAL EXCEPTION: main

    Process: com.example.ashwin.textdetector, PID: 27943

    java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/com.example.ashwin.textdetector-il602JBRKudxJty0j5AcOA==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.ashwin.textdetector-il602JBRKudxJty0j5AcOA==/lib/arm64, /system/lib64, /system/vendor/lib64]]

        at android.app.ActivityThread.installProvider(ActivityThread.java:6581)

        at android.app.ActivityThread.installContentProviders(ActivityThread.java:6133)

        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6043)

        at android.app.ActivityThread.-wrap1(Unknown Source:0)

        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1764)

        at android.os.Handler.dispatchMessage(Handler.java:105)

        at android.os.Looper.loop(Looper.java:164)

        at android.app.ActivityThread.main(ActivityThread.java:6944)

        at java.lang.reflect.Method.invoke(Native Method)

        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/com.example.ashwin.textdetector-il602JBRKudxJty0j5AcOA==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.ashwin.textdetector-il602JBRKudxJty0j5AcOA==/lib/arm64, /system/lib64, /system/vendor/lib64]]

        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

        at android.app.ActivityThread.installProvider(ActivityThread.java:6566)

        at android.app.ActivityThread.installContentProviders(ActivityThread.java:6133) 

        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6043) 

        at android.app.ActivityThread.-wrap1(Unknown Source:0) 

        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1764) 

        at android.os.Handler.dispatchMessage(Handler.java:105) 

        at android.os.Looper.loop(Looper.java:164) 

        at android.app.ActivityThread.main(ActivityThread.java:6944) 

        at java.lang.reflect.Method.invoke(Native Method) 

        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) 

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) 

    Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.example.ashwin.textdetector-il602JBRKudxJty0j5AcOA==/base.apk because: Failure to verify dex file '/data/app/com.example.ashwin.textdetector-il602JBRKudxJty0j5AcOA==/base.apk': Bad method handle type 7」


0
  • 답변 0

  • 로그인을 하시면 답변을 등록할 수 있습니다.