Skip to content
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

Error on flutter run: "Your app is using an unsupported Gradle project. To fix this problem, create a new project" #24

Open
florianrein opened this issue Apr 23, 2021 · 3 comments

Comments

@florianrein
Copy link

Steps to reproduce

  1. clone the repo.
  2. cd inside
  3. start an eligible x86 Android Emulator
  4. flutter run lib/mylib.dart

Result

$ flutter run lib/mylib.dart
Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib/mylib.dart on Android SDK built for x86 in debug mode...
Exception: [!] Your app is using an unsupported Gradle project. To fix this problem, create a new project by running flutter create -t app <app-directory> and then move the dart code, assets and pubspec.yaml to the new project.

Notes

The same happens after renaming mylib.dart to main.dart and do flutter run.

flutter doctor

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.4 19E287 darwin-x64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.55.2)
[✓] Connected device (2 available)

• No issues found!

florianrein added a commit to florianrein/flutter-rust-ffi that referenced this issue Apr 24, 2021
@s4rath
Copy link

s4rath commented May 27, 2023

any update

@nc-jeni
Copy link

nc-jeni commented Jun 9, 2023

any update on this?

@Sarraj-Sahar
Copy link

having the same issue after updating to flutter 3.10.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants