question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New projects are being created incomplete

See original GitHub issue

So, here’s what happens when I create a new project with this wizard:

image

I get this:

image

and this notification:

image

So here are the issues so far:

  1. Why do I have to configure the Android Framework after the project was created? Shouldn’t this be automatic or questioned at the Wizard?

  2. Why there’s no Dart framework detected and I have to dig into the Flutter SDK files to find it?

  3. 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).

So, lets continue then.

I will add the Dart SDK, this is what I have now:

image

This is what I get after searching inside the Flutter SDK folders for a while:

image

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.

Then I click to add the Android Framework that was automatically detected and this pops up:

image

And now the Flutter logo on the Root on my project is gone! Why?

image

This is my module settings with the Android Framework configured:

image

All looks good…But, this is the project configuration:

image

Which shows no SDK for the project.

(one time I had this out folder vanish in another project and I had to add it again to the project’s configuration).

So, if I start an Android Emulator and try to run it like this, I get this error:

Launching lib\main.dart on Android SDK built for x86 64 in debug mode… Initializing gradle… CreateProcessW failed 193 Finished with error: ProcessException: %1 is not a valid Win32 application.

Command: C:\Users\Michel Feinstein\Desktop\newProjectTest\new_project_test\android\gradlew.bat -v

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?).

And then it compiles, installs and works.

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.

This is my flutter doctor -v:

[√] Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17763.379], locale pt-BR) • Flutter version 1.2.1 at C:\Programacao\Flutter\sdk\flutter • Framework revision 8661d8aecd (5 weeks ago), 2019-02-14 19:19:53 -0800 • Engine revision 3757390fa4 • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at C:\Programacao\Android\Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01) • All Android licenses accepted.

[√] Android Studio (version 3.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 33.4.1 • Dart plugin version 182.5215 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[!] IntelliJ IDEA Ultimate Edition (version 2018.2) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.5 X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. • For information about installing plugins, see https://flutter.io/intellij-setup/#installing-the-plugins

[√] IntelliJ IDEA Ultimate Edition (version 2018.3) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.3 • Flutter plugin version 33.4.2 • Dart plugin version 183.5912.23

[√] VS Code (version 1.32.1) • VS Code at C:\Users\Michel Feinstein\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 2.24.0

[!] Connected device ! No devices available

! Doctor found issues in 2 categories.

Let me know if you need more information to fix this.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vkammerercommented, Nov 26, 2019

I do ignore it indeed and don’t mind otherwise, but it is one of the small quirks that should be fixed, especially because it can lead users to wasting a lot of time investigating / trying to fix what looks to be an important issue.

1reaction
feinsteincommented, Mar 21, 2019

I will try this another day and let you know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VS 2019 RC new projects are incomplete
I installed VS 2019 RC 4 (with .NET desktop, Desktop development with C++, and Universal Windows Platform development workloads). After creating a new...
Read more >
Incomplete and unused: Design Technology's dirty secret
In the first scenario, the tool is in a perpetual state of incompleteness. Either the original developer doesn't have time to complete the...
Read more >
Add upcoming/incomplete tasks from other projects when ...
When creating a progress update in a project, there's the ability to add upcoming tasks and milestones directly into the progress update.
Read more >
The project was not built since its build path is incomplete
This issue is occurred only if the project shared between different machines. For me I found java JDK is the problem. My colleague...
Read more >
Deletion of Incomplete Projects in Microstrategy Developer 9.x
You cannot access project 'xxx' because it is incomplete. This can be a result of failure experienced during the project creation, duplication, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found