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
I just use the plugin by following the example. This is my code which causes an error.
void showPlacePicker(BuildContext context) async {
LocationResult result = await Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => PlacePicker(BubuAndroidKey),
),
);
// Handle the result in your way
print(result);
}
And here the stack trace:
I/zzbz (15121): Making Creator dynamically
I/DynamiteModule(15121): Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:203112999
I/DynamiteModule(15121): Selected remote version of com.google.android.gms.maps_dynamite, version >= 203112999
V/DynamiteModule(15121): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/Gralloc4(15121): allocator 3.x is not supported
I/Google Maps Android API(15121): Google Play services client version: 12451000
I/Google Maps Android API(15121): Google Play services package version: 210214049
E/AndroidRuntime(15121): FATAL EXCEPTION: main
E/AndroidRuntime(15121): Process: com.appbubu.bubu, PID: 15121
E/AndroidRuntime(15121): java.lang.AbstractMethodError: abstract method "void io.flutter.plugin.platform.PlatformView.onFlutterViewAttached(android.view.View)"
E/AndroidRuntime(15121): at io.flutter.plugin.platform.VirtualDisplayController.onFlutterViewAttached(VirtualDisplayController.java:181)
E/AndroidRuntime(15121): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:233)
E/AndroidRuntime(15121): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/AndroidRuntime(15121): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/AndroidRuntime(15121): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/AndroidRuntime(15121): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/AndroidRuntime(15121): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:738)
E/AndroidRuntime(15121): at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(15121): at android.os.MessageQueue.next(MessageQueue.java:335)
E/AndroidRuntime(15121): at android.os.Looper.loop(Looper.java:183)
E/AndroidRuntime(15121): at android.app.ActivityThread.main(ActivityThread.java:7656)
E/AndroidRuntime(15121): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(15121): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/AndroidRuntime(15121): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Here my flutter doctor result:
[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on Microsoft Windows [Version 10.0.19041.789], locale en-GB)
• Flutter version 1.25.0-8.3.pre at C:\Users\darar\AppData\Local\Android\flutter
• Framework revision 5d36f2e7f5 (3 weeks ago), 2021-01-14 15:57:49 -0800
• Engine revision 7a8f8ca02c
• Dart version 2.12.0 (build 2.12.0-133.7.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\darar\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
I just use the plugin by following the example. This is my code which causes an error.
And here the stack trace:
Here my flutter doctor result:
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\darar\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
[✓] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.53.0)
• VS Code at C:\Users\darar\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.19.0
[✓] VS Code, 32-bit edition
• VS Code at C:\Program Files (x86)\Microsoft VS Code
• Flutter extension version 3.19.0
[✓] Connected device (3 available)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.150
• Edge (web) • edge • web-javascript • Microsoft Edge 88.0.705.63
• No issues found!
The text was updated successfully, but these errors were encountered: