Flutter: Parameter format not correct

已回答

I am a Flutter newbie. I have installed flutter on Windows 10. I got the android SDK installed using Android Studio. 

flutter doctor finds no issues.

I go into Android studio, create a default project, select an emulated device, run the app and it runs without issue.

Since I want to write an app that will also work for browsers, I want to develop it in IntelliJ. 

I go into IntelliJ. I have the Flutter plugin installed. I create a new Flutter project, setting the project name and leaving everything else at its default setting. I select the same emulated device, try to run the app, and I see this

Launching lib\main.dart on sdk gphone x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
Parameter format not correct -
√  Built build\app\outputs\flutter-apk\app-debug.apk.
Debug service listening on ws://127.0.0.1:53836/WFm2GFjiKnM=/ws
Syncing files to device sdk gphone x86 64...
I/rst_flutter_app( 7592): Compiler allocated 4533KB to compile void android.view.ViewRootImpl.performTraversals()
E/SurfaceSyncer( 7592): Failed to find sync for id=0
W/Parcel  ( 7592): Expecting binder but got null!

How can I troubleshoot this to get the default app to run?

0

I tried reinstalling Flutter. That got rid fo the message

Parameter format not correct -

However the other messages persist.

0

According to Flutter devs, the other two messages are harmless and can be ignored.

See:

Since Flutter plugin is not developed by JetBrains, questions and problems related to it are best reported to the plugin's own issue tracker going forward.

0

请先登录再写评论。