You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Environment
App version: 1.0.0
Android version: 5.4
Device information: xxxx
version:
appName: demo_first
buildNumber: 1
packageName: com.example.demo_first
environment: ApplicationProfile.debug
Device parameters:
id: QPP1.190205.018.B3
androidId: fbe67581204b5b02
board: goldfish_x86
bootloader: unknown
brand: google
device: generic_x86
display: sdk_gphone_x86-userdebug Q QPP1.190205.018.B3 5345599 dev-keys
fingerprint: google/sdk_gphone_x86/generic_x86:Q/QPP1.190205.018.B3/5345599:userdebug/dev-keys
hardware: ranchu
host: wphq1.hot.corp.google.com
isPsychicalDevice: false
manufacturer: Google
model: Android SDK built for x86
product: sdk_gphone_x86
tags: dev-keys
type: userdebug
versionBaseOs:
versionCodename: Q
versionIncremental: 5345599
versionPreviewSdk: 1
versionRelase: Q
versionSdk: 28
versionSecurityPatch: 2019-03-05
Description
Create a Class that extends the InAppBrowser Class in order to override the callbacks to manage the browser events.
await inAppBrowser.open(url: "https://flutter-go.pub/flutter_go_web/", options: {
"useShouldOverrideUrlLoading": true,
"useOnLoadResource": true,
"clearCache": true,
// "toolbarTop": false,
});
Expected behavior:
正常
Current behavior:
D/AndroidRuntime( 7977): Shutting down VM
E/AndroidRuntime( 7977): FATAL EXCEPTION: main
Steps to reproduce
Images
Stacktrace/Logcat
E/AndroidRuntime( 7977): Process: com.example.demo, PID: 7977
E/AndroidRuntime( 7977): java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/LifecycleEventObserver;
E/AndroidRuntime( 7977): at java.lang.Class.newInstance(Native Method)
E/AndroidRuntime( 7977): at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:81)
E/AndroidRuntime( 7977): at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:43)
E/AndroidRuntime( 7977): at android.app.Instrumentation.newActivity(Instrumentation.java:1239)
E/AndroidRuntime( 7977): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3015)
E/AndroidRuntime( 7977): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3237)
E/AndroidRuntime( 7977): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:81)
E/AndroidRuntime( 7977): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime( 7977): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime( 7977): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1929)
E/AndroidRuntime( 7977): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime( 7977): at android.os.Looper.loop(Looper.java:209)
E/AndroidRuntime( 7977): at android.app.ActivityThread.main(ActivityThread.java:7021)
E/AndroidRuntime( 7977): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 7977): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:486)
E/AndroidRuntime( 7977): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:872)
E/AndroidRuntime( 7977): Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.lifecycle.LifecycleEventObserver" on path: DexPathList[[zip file "/data/app/com.example.demo-Inv11Xt9QqlGQ7wM2HEjxw==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.demo-Inv11Xt9QqlGQ7wM2HEjxw==/lib/x86, /data/app/com.example.demo-Inv11Xt9QqlGQ7wM2HEjxw==/base.apk!/lib/x86, /system/lib, /system/product/lib]]
E/AndroidRuntime( 7977): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:195)
E/AndroidRuntime( 7977): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime( 7977): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
The text was updated successfully, but these errors were encountered: