'Build Project' action doesn't work for flutter projects
See original GitHub issueFrom @darrellpf on April 30, 2017 1:37
Steps to Reproduce
Make a new flutter project
Intellij says frameworks detected
- configure
- click Android manifest.xml
- message is Android Facet added Click the build button Error : Android source generator : [Android] Android Manifest.xml file not found
Flutter Doctor
[✓] Flutter (on Linux, channel master)
• Flutter at /home/darrell/flutter
• Framework revision a4ba761bea (26 hours ago), 2017-04-28 16:01:14 -0700
• Engine revision da8ebf40bd
• Tools Dart version 1.23.0-dev.11.11
[✓] Host Executable Compatibility
• Downloaded executables execute on host
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
• Android SDK at /home/darrell/Android/Sdk
• Platform android-25, build-tools 25.0.2
• Java binary at: /home/darrell/android-studio/jre/bin/java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b736)
[✓] Android Studio (version 2.4)
• Android Studio at /home/darrell/android-studio
• Gradle version 3.4.1
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b736)
[✓] IntelliJ IDEA Community Edition (version 2017.1)
• Dart plugin version 171.4424.10
• Flutter plugin version 13.0
[✓] Connected devices
• None
For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.
Copied from original issue: flutter/flutter#9691
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:22 (15 by maintainers)
Top Results From Across the Web
'Build Project' action doesn't work for flutter projects #9691
Go to Project Structure->Modules; choose "android"; remove the all content roots; add android/app/src/main (which contains AndroidManifest.xml).
Read more >Error while trying to build flutter project - Stack Overflow
Solved: the folder that i was using to create projects was inside a folder called "D:\projects\ ...
Read more >Flutter Fix
To see or apply changes to an entire project, you can use the command-line tool, dart fix . This tool has two options:...
Read more >Write your first Flutter app, part 1
The animated GIF shows how the app works at the completion of part 1. ... Tip: If you don't see “New Flutter Project”...
Read more >Android Studio and IntelliJ - Flutter documentation
Creating projects. Creating a new project; Creating a new project from existing source code. Editing code and viewing issues; Running and debugging.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone looking for a workaround, this is what worked for me:
File > Project Structure > Modules > Android > Structure
ChangeManifest file
from:C:\Users\username\IdeaProjects\myapp\android\AndroidManifest.xml
To:C:\Users\username\IdeaProjects\myapp\android\app\src\main\AndroidManifest.xml
buen dia amigos soy nueva en programacion de android y tengo el siguiente error: Error:El prefijo “android” para el atributo “android:allowBackup” asociado a un tipo de elemento “application” no está enlazado. esto en el AndroidMan ifest.xml favor una ayudita¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡