-
Notifications
You must be signed in to change notification settings - Fork 1
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
Can not run your project #4
Comments
Hello,
So the main problem in my understanding is: ... Where the Car class comes from? Hope this help .. |
If I remove all the Car class references, the call to getPlatformVersion method returns the correct value without errors. |
The app MUST run on the device on the car! |
did you have integrate android auto existing project flutter? |
I've tried to run your project but I'm still making mistakes.
I'm on version Flutter 3.10
here is my console debug:
`
I/BLASTBufferQueue(27649): SurfaceView[com.example.flutterandroidautoos.flutter_android_auto_os_example/com.example.flutterandroidautoos.flutter_android_auto_os_example.MainActivity]@0#1 onFrameAvailable the first frame is available
D/SurfaceView@816ba58(27649): setAlpha: mUseAlpha = false alpha=1.0
D/SurfaceView@816ba58(27649): updateSurfaceAlpha: setUseAlpha() is not called, ignored.
E/flutter (27649): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getPlatformVersion on channel flutter_android_auto_os)
E/flutter (27649): #0 MethodChannel._invokeMethod
platform_channel.dart:308
E/flutter (27649):
E/flutter (27649): #1 FlutterAndroidAutoOs.platformVersion
flutter_android_auto_os.dart:11
E/flutter (27649):
E/flutter (27649): #2 _HomePageState.initPlatformState
main.dart:56
E/flutter (27649):
════════ Exception caught by services library ══════════════════════════════════
The following MissingPluginException was thrown while activating platform stream on channel car_gear:
MissingPluginException(No implementation found for method listen on channel car_gear)
When the exception was thrown, this was the stack
#0 MethodChannel._invokeMethod
#1 EventChannel.receiveBroadcastStream.
════════════════════════════════════════════════════════════════════════════════
`
The text was updated successfully, but these errors were encountered: