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

App crashes on Android release build #195

Closed
jaysson opened this issue Nov 17, 2019 · 6 comments
Closed

App crashes on Android release build #195

jaysson opened this issue Nov 17, 2019 · 6 comments
Labels

Comments

@jaysson
Copy link

jaysson commented Nov 17, 2019

Environment

App version: 1.2.1
Android version: All
Device information: All

Description

App crashes only in release build. Works fine in debug mode.

Expected behavior:
Should open the in app browser

Current behavior:
Crashes

Steps to reproduce

InAppBrowser().open(url: 'https://google.com');

Stacktrace/Logcat

11-17 21:17:14.476  1772  5528 I ActivityManager: START u0 {cmp=com.ruthumana/com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity (has extras)} from uid 10241
11-17 21:17:14.523  1698  1698 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;
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62)
11-17 21:17:14.523  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
11-17 21:17:14.523  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
11-17 21:17:14.523  1698  1698 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)
11-17 21:17:14.523  1698  1698 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)
11-17 21:17:14.523  1698  1698 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)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140)
11-17 21:17:14.523  1698  1698 I zygote  :   at void com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity.onCreate(android.os.Bundle) (InAppBrowserActivity.java:52)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7032)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7023)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1236)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2814)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2943)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1630)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.os.Looper.loop() (Looper.java:164)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6626)
11-17 21:17:14.523  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
11-17 21:17:14.523  1698  1698 I zygote  :   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
11-17 21:17:14.523  1698  1698 I zygote  :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:811)
11-17 21:17:14.523  1698  1698 I zygote  : Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/base.apk"],nativeLibraryDirectories=[/data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/lib/arm, /data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
11-17 21:17:14.523  1698  1698 I zygote  :   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
11-17 21:17:14.523  1698  1698 I zygote  :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
11-17 21:17:14.523  1698  1698 I zygote  :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62)
11-17 21:17:14.523  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
11-17 21:17:14.523  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
11-17 21:17:14.523  1698  1698 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)
11-17 21:17:14.523  1698  1698 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)
11-17 21:17:14.523  1698  1698 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)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466)
11-17 21:17:14.523  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140)
11-17 21:17:14.523  1698  1698 I zygote  :   at void com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity.onCreate(android.os.Bundle) (InAppBrowserActivity.java:52)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7032)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7023)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1236)
11-17 21:17:14.523  1698  1698 I zygote  :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2814)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2943)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
11-17 21:17:14.523  1698  1698 I zygote  :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1630)
11-17 21:17:14.524  1698  1698 I zygote  :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
11-17 21:17:14.524  1698  1698 I zygote  :   at void android.os.Looper.loop() (Looper.java:164)
11-17 21:17:14.524  1698  1698 I zygote  :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6626)
11-17 21:17:14.524  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
11-17 21:17:14.524  1698  1698 I zygote  :   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
11-17 21:17:14.524  1698  1698 I zygote  :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:811)
11-17 21:17:14.524  1698  1698 I zygote  :
11-17 21:17:14.525  1698  1698 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;
11-17 21:17:14.525  1698  1698 I zygote  :   at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
11-17 21:17:14.525  1698  1698 I zygote  :   at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62)
11-17 21:17:14.525  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
11-17 21:17:14.525  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
11-17 21:17:14.525  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
11-17 21:17:14.525  1698  1698 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)
11-17 21:17:14.525  1698  1698 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)
11-17 21:17:14.525  1698  1698 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)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
11-17 21:17:14.525  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
11-17 21:17:14.525  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
11-17 21:17:14.525  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
11-17 21:17:14.525  1698  1698 I zygote  :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607)
11-17 21:17:14.525  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
11-17 21:17:14.525  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466)
11-17 21:17:14.525  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140)
11-17 21:17:14.525  1698  1698 I zygote  :   at void com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity.onCreate(android.os.Bundle) (InAppBrowserActivity.java:52)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7032)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7023)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1236)
11-17 21:17:14.525  1698  1698 I zygote  :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2814)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2943)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1630)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.os.Looper.loop() (Looper.java:164)
11-17 21:17:14.525  1698  1698 I zygote  :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6626)
11-17 21:17:14.525  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
11-17 21:17:14.525  1698  1698 I zygote  :   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
11-17 21:17:14.525  1698  1698 I zygote  :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:811)
11-17 21:17:14.525  1698  1698 I zygote  : Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/base.apk"],nativeLibraryDirectories=[/data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/lib/arm, /data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
11-17 21:17:14.525  1698  1698 I zygote  :   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
11-17 21:17:14.525  1698  1698 I zygote  :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
11-17 21:17:14.525  1698  1698 I zygote  :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
11-17 21:17:14.525  1698  1698 I zygote  :   at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
11-17 21:17:14.525  1698  1698 I zygote  :   at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62)
11-17 21:17:14.525  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
11-17 21:17:14.526  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
11-17 21:17:14.526  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
11-17 21:17:14.526  1698  1698 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)
11-17 21:17:14.526  1698  1698 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)
11-17 21:17:14.526  1698  1698 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)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
11-17 21:17:14.526  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
11-17 21:17:14.526  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
11-17 21:17:14.526  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
11-17 21:17:14.526  1698  1698 I zygote  :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607)
11-17 21:17:14.526  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
11-17 21:17:14.526  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466)
11-17 21:17:14.526  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140)
11-17 21:17:14.526  1698  1698 I zygote  :   at void com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity.onCreate(android.os.Bundle) (InAppBrowserActivity.java:52)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7032)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7023)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1236)
11-17 21:17:14.526  1698  1698 I zygote  :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2814)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2943)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1630)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.os.Looper.loop() (Looper.java:164)
11-17 21:17:14.526  1698  1698 I zygote  :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6626)
11-17 21:17:14.526  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
11-17 21:17:14.526  1698  1698 I zygote  :   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
11-17 21:17:14.526  1698  1698 I zygote  :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:811)
11-17 21:17:14.526  1698  1698 I zygote  :
11-17 21:17:14.527  1698  1698 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;
11-17 21:17:14.527  1698  1698 I zygote  :   at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
11-17 21:17:14.527  1698  1698 I zygote  :   at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62)
11-17 21:17:14.527  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
11-17 21:17:14.527  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
11-17 21:17:14.527  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
11-17 21:17:14.527  1698  1698 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)
11-17 21:17:14.527  1698  1698 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)
11-17 21:17:14.527  1698  1698 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)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
11-17 21:17:14.527  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
11-17 21:17:14.527  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
11-17 21:17:14.527  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
11-17 21:17:14.527  1698  1698 I zygote  :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607)
11-17 21:17:14.527  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
11-17 21:17:14.527  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466)
11-17 21:17:14.527  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140)
11-17 21:17:14.527  1698  1698 I zygote  :   at void com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity.onCreate(android.os.Bundle) (InAppBrowserActivity.java:52)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7032)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7023)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1236)
11-17 21:17:14.527  1698  1698 I zygote  :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2814)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2943)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1630)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.os.Looper.loop() (Looper.java:164)
11-17 21:17:14.527  1698  1698 I zygote  :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6626)
11-17 21:17:14.527  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
11-17 21:17:14.527  1698  1698 I zygote  :   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
11-17 21:17:14.527  1698  1698 I zygote  :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:811)
11-17 21:17:14.527  1698  1698 I zygote  : Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/base.apk"],nativeLibraryDirectories=[/data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/lib/arm, /data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
11-17 21:17:14.527  1698  1698 I zygote  :   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
11-17 21:17:14.527  1698  1698 I zygote  :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
11-17 21:17:14.528  1698  1698 I zygote  :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
11-17 21:17:14.528  1698  1698 I zygote  :   at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
11-17 21:17:14.528  1698  1698 I zygote  :   at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62)
11-17 21:17:14.528  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
11-17 21:17:14.528  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
11-17 21:17:14.528  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
11-17 21:17:14.528  1698  1698 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)
11-17 21:17:14.528  1698  1698 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)
11-17 21:17:14.528  1698  1698 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)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
11-17 21:17:14.528  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
11-17 21:17:14.528  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
11-17 21:17:14.528  1698  1698 I zygote  :   at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
11-17 21:17:14.528  1698  1698 I zygote  :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607)
11-17 21:17:14.528  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
11-17 21:17:14.528  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466)
11-17 21:17:14.528  1698  1698 I zygote  :   at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140)
11-17 21:17:14.528  1698  1698 I zygote  :   at void com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity.onCreate(android.os.Bundle) (InAppBrowserActivity.java:52)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7032)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7023)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1236)
11-17 21:17:14.528  1698  1698 I zygote  :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2814)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2943)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1630)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.os.Looper.loop() (Looper.java:164)
11-17 21:17:14.528  1698  1698 I zygote  :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6626)
11-17 21:17:14.528  1698  1698 I zygote  :   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
11-17 21:17:14.528  1698  1698 I zygote  :   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
11-17 21:17:14.528  1698  1698 I zygote  :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:811)
11-17 21:17:14.528  1698  1698 I zygote  :
11-17 21:17:14.585  1698  1773 W cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true
11-17 21:17:14.589  1698  1698 I cr_BrowserStartup: Initializing chromium process, singleProcess=false
11-17 21:17:14.592  1698  1698 W ResourceType: For resource 0x7f130537, entry index(1335) is beyond type entryCount(4)
11-17 21:17:14.592  1698  1698 W ResourceType: Failure getting entry for 0x7f130537 (t=18 e=1335) (error -75)
11-17 21:17:14.596  1776  1776 E /system/bin/webview_zygote32: Failed to make and chown /acct/uid_99163: Permission denied
11-17 21:17:14.596  1776  1776 E Zygote  : createProcessGroup(99163, 0) failed: Permission denied
11-17 21:17:14.596  1776  1776 E SchedPolicy: open of /dev/cpuctl/bg_non_interactive/tasks failed: No such file or directory
11-17 21:17:14.599  1772  5469 I ActivityManager: Start proc 1776:com.android.chrome:sandboxed_process0/u0i163 for webview_service com.ruthumana/org.chromium.content.app.SandboxedProcessService0
11-17 21:17:14.626  1800  1800 E asset   : setgid: Operation not permitted
11-17 21:17:14.646  1776  1776 W ResourceType: Found multiple library tables, ignoring...
11-17 21:17:14.696  1776  1776 I LoadedApk: No resource references to update in package com.android.chrome.autofill_assistant
11-17 21:17:14.699  1776  1776 I cr_ChildProcessService: Creating new ChildProcessService pid=1776
11-17 21:17:14.710  1698  1698 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
11-17 21:17:14.719  1772  5469 I ActivityManager: START u0 {flg=0x20000 cmp=com.ruthumana/com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity} from uid 10241
11-17 21:17:14.730  1698  1805 W cr_media: Requires BLUETOOTH permission
11-17 21:17:14.734  1776  1811 I cr_LibraryLoader: Time to load native libraries: 1 ms
11-17 21:17:14.738  1776  1811 I chromium: [INFO:library_loader_hooks.cc(51)] Chromium logging enabled: level = 0, default verbosity = 0
11-17 21:17:14.738  1776  1811 I cr_LibraryLoader: Expected native library version number "78.0.3904.96", actual native library version number "78.0.3904.96"
11-17 21:17:14.789  1698  1812 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
11-17 21:17:14.789  1698  1812 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
11-17 21:17:14.790  1698  1812 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
11-17 21:17:14.790  1698  1812 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
11-17 21:17:14.800  1698  1812 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
11-17 21:17:14.812  1698  1812 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
11-17 21:17:14.812  1698  1812 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
11-17 21:17:14.820  1698  1698 D AndroidRuntime: Shutting down VM
11-17 21:17:14.821  1698  1698 E AndroidRuntime: FATAL EXCEPTION: main
11-17 21:17:14.821  1698  1698 E AndroidRuntime: Process: com.ruthumana, PID: 1698
11-17 21:17:14.821  1698  1698 E AndroidRuntime: java.lang.NoSuchFieldError: No static field menu_search of type I in class Lcom/pichillilorenzo/flutter_inappbrowser/R$id; or its superclasses (declaration of 'com.pichillilorenzo.flutter_inappbrowser.R$id' appears in /data/app/com.ruthumana-0qyXPLtE8XrVcnasbjNdXg==/base.apk)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity.onCreateOptionsMenu(InAppBrowserActivity.java:133)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at android.app.Activity.onCreatePanelMenu(Activity.java:3407)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at androidx.fragment.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:325)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at androidx.appcompat.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:94)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.onCreatePanelMenu(AppCompatDelegateImpl.java:2549)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatDelegateImpl.preparePanel(AppCompatDelegateImpl.java:1589)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatDelegateImpl.doInvalidatePanelMenu(AppCompatDelegateImpl.java:1869)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatDelegateImpl$2.run(AppCompatDelegateImpl.java:230)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:790)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:164)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6626)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
11-17 21:17:14.821  1698  1698 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
11-17 21:17:14.823  1772  3132 W ActivityManager:   Force finishing activity com.ruthumana/com.pichillilorenzo.flutter_inappbrowser.InAppBrowserActivity
@arc41t3ct
Copy link

Same problem here. Installed the latest version of inappbrowser

@koteezy
Copy link

koteezy commented Dec 3, 2019

Guys, maybe this help you?

@pichillilorenzo
Copy link
Owner

@floridait @jaysson
Try the latest version of the plugin. Also, this plugin changed its name to flutter_inappwebview. The current latest version now is 2.1.0+1. So, you can change your dependency influtter_inappwebview: ^2.1.0+1.

@jaysson
Copy link
Author

jaysson commented Dec 15, 2019

Switched to flutter_inappwebview: ^2.1.0+1. Issue is still there.

This was referenced Jul 6, 2020
Copy link

github-actions bot commented Oct 7, 2024

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

@github-actions github-actions bot added the stale label Oct 7, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants