I am developing an Android app for automated sending messages.I am testing the app on real device.
As usual after I was done with my app I shutdown my computer but when I again turned it on the App started giving me an error.I had tested the app before shutting down my computer and it was absolutely working fine.
Now when I am again testing ,the app crashes giving me the error:-
2020-06-13 17:37:58.536 10892-10892/? W/zygote64: miui_dex2oat: DeoptimizeBootImage: patch entry points of methods in boot image to interpreter bridge
2020-06-13 17:37:59.372 10892-10892/com.example.anoreplier W/zygote64: miui_dex2oat: OatFile: /data/app/com.example.anoreplier-wK3z0kaFIun4NrInuAmqpQ==/oat/arm64/base.odex Compiler-Filter = quicken
2020-06-13 17:37:59.397 10892-10892/com.example.anoreplier W/ResourceType: No package identifier when getting name for resource number 0x00000000
2020-06-13 17:37:59.518 10892-10892/com.example.anoreplier W/ResourceType: No package identifier when getting name for resource number 0x00000000
2020-06-13 17:37:59.689 10892-10892/com.example.anoreplier D/AccessibilityManager: AccessibilityManager status: mPackageName = com.example.anoreplier, mOptimizeEnabled = false, mIsEnabled = false, mIsUiAutomationEnabled = false, mIsInterestedPackage =false
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2678)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519)
2020-06-13 17:37:59.809 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427)
2020-06-13 17:37:59.810 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-06-13 17:37:59.810 10892-10892/com.example.anoreplier I/zygote64: at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:749)
2020-06-13 17:37:59.810 10892-10892/com.example.anoreplier I/zygote64: at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
2020-06-13 17:37:59.810 10892-10892/com.example.anoreplier I/zygote64: at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
2020-06-13 17:37:59.810 10892-10892/com.example.anoreplier I/zygote64: at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2020-06-13 17:37:59.810 10892-10892/com.example.anoreplier I/zygote64: at void com.example.anoreplier.MainActivity.onCreate(android.os.Bundle) (MainActivity.kt:25)
2020-06-13 17:37:59.810 10892-10892/com.example.anoreplier I/zygote64: at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7088)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7079)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1215)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2895)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1616)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.os.Looper.loop() (Looper.java:176)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6651)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:547)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:824)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.example.anoreplier-wK3z0kaFIun4NrInuAmqpQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.anoreplier-wK3z0kaFIun4NrInuAmqpQ==/lib/arm64, /system/lib64, /system/vendor/lib64]]
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2678)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:749)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void com.example.anoreplier.MainActivity.onCreate(android.os.Bundle) (MainActivity.kt:25)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7088)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7079)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1215)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2895)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1616)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.os.Looper.loop() (Looper.java:176)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6651)
2020-06-13 17:37:59.811 10892-10892/com.example.anoreplier I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-06-13 17:37:59.812 10892-10892/com.example.anoreplier I/zygote64: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:547)
2020-06-13 17:37:59.812 10892-10892/com.example.anoreplier I/zygote64: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:824)
I know this log is big but I cannot understand the problem.It is saying that it has been denied the permission to create the file and crashes but I haven't clicked on allow or deny option for permission.Even after crashing the app keeps asking for permission until that is running
Any help is really appreciated.
User contributions licensed under CC BY-SA 3.0