Android SDK at C:\Programacao\Android\Sdk.Android toolchain - develop for Android devices (Android SDK version 28.0.3) Flutter version 1.2.1 at C:\Programacao\Flutter\sdk\flutter.Flutter (Channel stable, v1.2.1, on Microsoft Windows, locale pt-BR) So, this is my experience when I create a new Flutter project in IntelliJ IDEA, I think there’s a lot of room for improvement. Which I had to google to find out that this is what you get when there’s a space in your project’s path (maybe add a hint when this error occurs, like hey do you have an space on your path? or warn users when there’s a space in their path, or just make it work with spaces?).Īnd then it compiles, installs and works. Launching lib\main.dart on Android SDK built for x86 64 in debug mode…įinished with error: ProcessException: %1 is not a valid Win32 application.Ĭommand: C:\Users\Michel Feinstein\Desktop\newProjectTest\new_project_test\android\gradlew.bat -v So, if I start an Android Emulator and try to run it like this, I get this error:
(one time I had this out folder vanish in another project and I had to add it again to the project’s configuration).
This is my module settings with the Android Framework configured:Īll looks good…But, this is the project configuration: Then I click to add the Android Framework that was automatically detected and this pops up:Īnd now the Flutter logo on the Root on my project is gone! Why? Which is curious, because it says I am using Dart version 2.2.0, but flutter -version says I am using Dart 2.1.2, so I guess I have no clue where to find the actual Dart SDK then. This is what I get after searching inside the Flutter SDK folders for a while: I will add the Dart SDK, this is what I have now: Just take a look at the Flutter logo on the Root of the project, as soon as I configure the Android Framework, it’s gone (to be seen soon). Why there’s no Dart framework detected and I have to dig into the Flutter SDK files to find it? Why do I have to configure the Android Framework after the project was created? Shouldn’t this be automatic or questioned at the Wizard? So, here’s what happens when I create a new project with this wizard: