'Improperly formatted define flag: Dart)\jurnal11\lib\main.dart

Im newbie about this flutter, dart and also android studio but i got this error every time i try to run project with android emulator

This Error Image



Solution 1:[1]

As explained in this Improperly formatted define flag: EDIT _ flutter's answer, maybe you should try to move your project to other directory with shorter path. Copy the project folder/file and paste in the desktop or any shorter directory, then re-import the project into Android Studio or your IDE and debug and overwrite the existing project.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1