Click button to view the next Activity (map activity) the map is in.
Activity stops working (It then shows me that the entire App "has stopped."
The map code in the activity code is only the basic map view. No other stuff in it like markers, etc...
Before this, the map was fine and working, but I didn't notice the Gradle was updating (since I saw 2 processes working at the lower right of the screen, which was updates) and after that, it keeps crashing.
My Current Build Gradle:
Here is the first logs in for the main activity which is normal and no error:
2020-10-19 07:58:45.091 9409-9409/? I/zygote: Not late-enabling -Xcheck:jni (already on)
2020-10-19 07:58:45.129 9409-9409/? W/zygote: Unexpected CPU variant for X86 using defaults: x86
2020-10-19 07:58:45.534 9409-9409/com.example.map1 I/zygote: 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-10-19 07:58:45.534 9409-9409/com.example.map1 I/zygote: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2678)
2020-10-19 07:58:45.534 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2020-10-19 07:58:45.534 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-10-19 07:58:45.534 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2020-10-19 07:58:45.538 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2020-10-19 07:58:45.538 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:896)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:806)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:693)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:170)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void com.example.map1.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:20)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7009)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7000)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2020-10-19 07:58:45.539 9409-9409/com.example.map1 I/zygote: at void android.os.Looper.loop() (Looper.java:164)
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86, /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2020-10-19 07:58:45.540 9409-9409/com.example.map1 I/zygote: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2678)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:896)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:806)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:693)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:170)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at void com.example.map1.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:20)
2020-10-19 07:58:45.541 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7009)
2020-10-19 07:58:45.543 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7000)
2020-10-19 07:58:45.544 9409-9409/com.example.map1 I/zygote: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2020-10-19 07:58:45.544 9409-9409/com.example.map1 I/zygote: at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2020-10-19 07:58:45.544 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2020-10-19 07:58:45.544 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2020-10-19 07:58:45.544 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2020-10-19 07:58:45.544 9409-9409/com.example.map1 I/zygote: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2020-10-19 07:58:45.544 9409-9409/com.example.map1 I/zygote: at void android.os.Looper.loop() (Looper.java:164)
2020-10-19 07:58:45.545 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2020-10-19 07:58:45.545 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-10-19 07:58:45.545 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2020-10-19 07:58:45.545 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2020-10-19 07:58:45.546 9409-9409/com.example.map1 I/zygote: 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-10-19 07:58:45.546 9409-9409/com.example.map1 I/zygote: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2678)
2020-10-19 07:58:45.546 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2020-10-19 07:58:45.546 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-10-19 07:58:45.546 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2020-10-19 07:58:45.546 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2020-10-19 07:58:45.547 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2020-10-19 07:58:45.547 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2020-10-19 07:58:45.547 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2020-10-19 07:58:45.547 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2020-10-19 07:58:45.547 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:896)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:806)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:693)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:170)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at void com.example.map1.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:20)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7009)
2020-10-19 07:58:45.550 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7000)
2020-10-19 07:58:45.552 9409-9409/com.example.map1 I/zygote: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2020-10-19 07:58:45.552 9409-9409/com.example.map1 I/zygote: at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2020-10-19 07:58:45.552 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2020-10-19 07:58:45.552 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2020-10-19 07:58:45.553 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2020-10-19 07:58:45.553 9409-9409/com.example.map1 I/zygote: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2020-10-19 07:58:45.553 9409-9409/com.example.map1 I/zygote: at void android.os.Looper.loop() (Looper.java:164)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86, /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2678)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:896)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:806)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:693)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:170)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void com.example.map1.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:20)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7009)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7000)
2020-10-19 07:58:45.555 9409-9409/com.example.map1 I/zygote: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at void android.os.Looper.loop() (Looper.java:164)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2020-10-19 07:58:45.556 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: 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-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2678)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2020-10-19 07:58:45.557 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:896)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:806)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:693)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:170)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void com.example.map1.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:20)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7009)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7000)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.os.Looper.loop() (Looper.java:164)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2020-10-19 07:58:45.558 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86, /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2678)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:896)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:806)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:693)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:170)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void com.example.map1.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:20)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7009)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7000)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2020-10-19 07:58:45.559 9409-9409/com.example.map1 I/zygote: at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at void android.os.Looper.loop() (Looper.java:164)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2020-10-19 07:58:45.560 9409-9409/com.example.map1 I/zygote: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2020-10-19 07:58:45.819 9409-9438/com.example.map1 D/OpenGLRenderer: HWUI GL Pipeline
2020-10-19 07:58:45.969 9409-9438/com.example.map1 I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2020-10-19 07:58:45.969 9409-9438/com.example.map1 I/OpenGLRenderer: Initialized EGL, version 1.4
2020-10-19 07:58:45.969 9409-9438/com.example.map1 D/OpenGLRenderer: Swap behavior 1
2020-10-19 07:58:45.970 9409-9438/com.example.map1 W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2020-10-19 07:58:45.970 9409-9438/com.example.map1 D/OpenGLRenderer: Swap behavior 0
2020-10-19 07:58:45.993 9409-9438/com.example.map1 D/EGL_emulation: eglCreateContext: 0xa5caf060: maj 3 min 0 rcv 3
2020-10-19 07:58:46.007 9409-9438/com.example.map1 D/EGL_emulation: eglMakeCurrent: 0xa5caf060: ver 3 0 (tinfo 0xa8609ad0)
2020-10-19 07:58:46.115 9409-9438/com.example.map1 D/EGL_emulation: eglMakeCurrent: 0xa5caf060: ver 3 0 (tinfo 0xa8609ad0)
2020-10-19 07:58:46.289 9409-9409/com.example.map1 V/View: dispatchProvideAutofillStructure(): not laid out, ignoring 0 children of 1073741834
2020-10-19 07:58:46.304 9409-9409/com.example.map1 I/AssistStructure: Flattened final assist data: 3240 bytes, containing 1 windows, 12 views
This is the log after clicking the button to open the next activity containing the map
2020-10-19 07:59:08.595 9409-9414/com.example.map1 I/zygote: After code cache collection, code=29KB, data=29KB
2020-10-19 07:59:08.595 9409-9414/com.example.map1 I/zygote: Increasing code cache capacity to 128KB
2020-10-19 07:59:08.611 9409-9409/com.example.map1 D/SoLoader: init start
2020-10-19 07:59:08.611 9409-9409/com.example.map1 D/SoLoader: adding system library source: /vendor/lib
2020-10-19 07:59:08.612 9409-9409/com.example.map1 D/SoLoader: adding system library source: /system/lib
2020-10-19 07:59:08.613 9409-9409/com.example.map1 D/SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86 flags = 0]
2020-10-19 07:59:08.614 9409-9409/com.example.map1 D/SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/com.example.map1/lib-main flags = 1]
2020-10-19 07:59:08.615 9409-9409/com.example.map1 D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
2020-10-19 07:59:08.615 9409-9409/com.example.map1 D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
2020-10-19 07:59:08.615 9409-9409/com.example.map1 D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86 flags = 0]
2020-10-19 07:59:08.616 9409-9409/com.example.map1 D/SoLoader: Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.example.map1/lib-main flags = 1]
2020-10-19 07:59:08.618 9409-9409/com.example.map1 V/fb-UnpackingSoSource: locked dso store /data/user/0/com.example.map1/lib-main
2020-10-19 07:59:08.621 9409-9409/com.example.map1 I/fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.example.map1/lib-main
2020-10-19 07:59:08.622 9409-9409/com.example.map1 V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.example.map1/lib-main
2020-10-19 07:59:08.622 9409-9409/com.example.map1 D/SoLoader: init finish: 4 SO sources prepared
2020-10-19 07:59:08.622 9409-9409/com.example.map1 D/SoLoader: init exiting
2020-10-19 07:59:08.624 9409-9409/com.example.map1 D/SoLoader: About to load: libmapbox-gl.so
2020-10-19 07:59:08.626 9409-9409/com.example.map1 D/SoLoader: libmapbox-gl.so found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.651 9409-9409/com.example.map1 D/SoLoader: Loading lib dependencies: [libEGL.so, libGLESv2.so, libandroid.so, libjnigraphics.so, liblog.so, libz.so, libm.so, libdl.so, libc.so]
2020-10-19 07:59:08.652 9409-9409/com.example.map1 D/SoLoader: About to load: libEGL.so
2020-10-19 07:59:08.653 9409-9409/com.example.map1 D/SoLoader: libEGL.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.654 9409-9409/com.example.map1 D/SoLoader: libEGL.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.654 9409-9409/com.example.map1 D/SoLoader: libEGL.so not found on /vendor/lib
2020-10-19 07:59:08.654 9409-9409/com.example.map1 D/SoLoader: libEGL.so found on /system/lib
2020-10-19 07:59:08.655 9409-9409/com.example.map1 D/SoLoader: libEGL.so loaded implicitly
2020-10-19 07:59:08.655 9409-9409/com.example.map1 D/SoLoader: Loaded: libEGL.so
2020-10-19 07:59:08.655 9409-9409/com.example.map1 D/SoLoader: About to load: libGLESv2.so
2020-10-19 07:59:08.656 9409-9409/com.example.map1 D/SoLoader: libGLESv2.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.656 9409-9409/com.example.map1 D/SoLoader: libGLESv2.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.656 9409-9409/com.example.map1 D/SoLoader: libGLESv2.so not found on /vendor/lib
2020-10-19 07:59:08.656 9409-9409/com.example.map1 D/SoLoader: libGLESv2.so found on /system/lib
2020-10-19 07:59:08.657 9409-9409/com.example.map1 D/SoLoader: libGLESv2.so loaded implicitly
2020-10-19 07:59:08.657 9409-9409/com.example.map1 D/SoLoader: Loaded: libGLESv2.so
2020-10-19 07:59:08.657 9409-9409/com.example.map1 D/SoLoader: About to load: libandroid.so
2020-10-19 07:59:08.657 9409-9409/com.example.map1 D/SoLoader: libandroid.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.657 9409-9409/com.example.map1 D/SoLoader: libandroid.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.658 9409-9409/com.example.map1 D/SoLoader: libandroid.so not found on /vendor/lib
2020-10-19 07:59:08.658 9409-9409/com.example.map1 D/SoLoader: libandroid.so found on /system/lib
2020-10-19 07:59:08.658 9409-9409/com.example.map1 D/SoLoader: libandroid.so loaded implicitly
2020-10-19 07:59:08.658 9409-9409/com.example.map1 D/SoLoader: Loaded: libandroid.so
2020-10-19 07:59:08.658 9409-9409/com.example.map1 D/SoLoader: About to load: libjnigraphics.so
2020-10-19 07:59:08.658 9409-9409/com.example.map1 D/SoLoader: libjnigraphics.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.658 9409-9409/com.example.map1 D/SoLoader: libjnigraphics.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.659 9409-9409/com.example.map1 D/SoLoader: libjnigraphics.so not found on /vendor/lib
2020-10-19 07:59:08.659 9409-9409/com.example.map1 D/SoLoader: libjnigraphics.so found on /system/lib
2020-10-19 07:59:08.659 9409-9409/com.example.map1 D/SoLoader: libjnigraphics.so loaded implicitly
2020-10-19 07:59:08.659 9409-9409/com.example.map1 D/SoLoader: Loaded: libjnigraphics.so
2020-10-19 07:59:08.660 9409-9409/com.example.map1 D/SoLoader: About to load: liblog.so
2020-10-19 07:59:08.660 9409-9409/com.example.map1 D/SoLoader: liblog.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.660 9409-9409/com.example.map1 D/SoLoader: liblog.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.660 9409-9409/com.example.map1 D/SoLoader: liblog.so not found on /vendor/lib
2020-10-19 07:59:08.660 9409-9409/com.example.map1 D/SoLoader: liblog.so found on /system/lib
2020-10-19 07:59:08.660 9409-9409/com.example.map1 D/SoLoader: liblog.so loaded implicitly
2020-10-19 07:59:08.660 9409-9409/com.example.map1 D/SoLoader: Loaded: liblog.so
2020-10-19 07:59:08.661 9409-9409/com.example.map1 D/SoLoader: About to load: libz.so
2020-10-19 07:59:08.661 9409-9409/com.example.map1 D/SoLoader: libz.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.661 9409-9409/com.example.map1 D/SoLoader: libz.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.661 9409-9409/com.example.map1 D/SoLoader: libz.so not found on /vendor/lib
2020-10-19 07:59:08.661 9409-9409/com.example.map1 D/SoLoader: libz.so found on /system/lib
2020-10-19 07:59:08.661 9409-9409/com.example.map1 D/SoLoader: libz.so loaded implicitly
2020-10-19 07:59:08.662 9409-9409/com.example.map1 D/SoLoader: Loaded: libz.so
2020-10-19 07:59:08.662 9409-9409/com.example.map1 D/SoLoader: About to load: libm.so
2020-10-19 07:59:08.663 9409-9409/com.example.map1 D/SoLoader: libm.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.664 9409-9409/com.example.map1 D/SoLoader: libm.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.667 9409-9409/com.example.map1 D/SoLoader: libm.so not found on /vendor/lib
2020-10-19 07:59:08.667 9409-9409/com.example.map1 D/SoLoader: libm.so found on /system/lib
2020-10-19 07:59:08.667 9409-9409/com.example.map1 D/SoLoader: libm.so loaded implicitly
2020-10-19 07:59:08.667 9409-9409/com.example.map1 D/SoLoader: Loaded: libm.so
2020-10-19 07:59:08.667 9409-9409/com.example.map1 D/SoLoader: About to load: libdl.so
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libdl.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libdl.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libdl.so not found on /vendor/lib
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libdl.so found on /system/lib
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libdl.so loaded implicitly
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: Loaded: libdl.so
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: About to load: libc.so
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libc.so not found on /data/data/com.example.map1/lib-main
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libc.so not found on /data/app/com.example.map1-2_IuW7MLyC0FmRZy_G3cNg==/lib/x86
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libc.so not found on /vendor/lib
2020-10-19 07:59:08.668 9409-9409/com.example.map1 D/SoLoader: libc.so found on /system/lib
2020-10-19 07:59:08.669 9409-9409/com.example.map1 D/SoLoader: libc.so loaded implicitly
2020-10-19 07:59:08.669 9409-9409/com.example.map1 D/SoLoader: Loaded: libc.so
2020-10-19 07:59:08.727 9409-9409/com.example.map1 D/SoLoader: Loaded: libmapbox-gl.so
2020-10-19 07:59:08.830 9409-9409/com.example.map1 D/AndroidRuntime: Shutting down VM
2020-10-19 07:59:08.834 9409-9409/com.example.map1 E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.map1, PID: 9409
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.map1/com.example.map1.geomap}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
at com.example.map1.geomap.onCreate(geomap.java:64)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
2020-10-19 07:59:08.887 9409-9414/com.example.map1 I/zygote: Do partial code cache collection, code=41KB, data=46KB
2020-10-19 07:59:08.888 9409-9414/com.example.map1 I/zygote: After code cache collection, code=41KB, data=46KB
2020-10-19 07:59:08.888 9409-9414/com.example.map1 I/zygote: Increasing code cache capacity to 256KB
2020-10-19 07:59:08.897 9409-9414/com.example.map1 I/zygote: JIT allocated 71KB for compiled code of void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
2020-10-19 07:59:08.898 9409-9414/com.example.map1 I/zygote: Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
Never mind, it was just an Activity issue. Reused one of the examples to rebuild the entire thing from scratch and was not connected to the resource pack update.
Steps on App:
The map code in the activity code is only the basic map view. No other stuff in it like markers, etc... Before this, the map was fine and working, but I didn't notice the Gradle was updating (since I saw 2 processes working at the lower right of the screen, which was updates) and after that, it keeps crashing. My Current Build Gradle:
This is the "Logcat" error
Here is the first logs in for the main activity which is normal and no error:
This is the log after clicking the button to open the next activity containing the map