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.

'Build Project' action doesn't work for flutter projects

See original GitHub issue

From @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:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:22 (15 by maintainers)

github_iconTop GitHub Comments

21reactions
altayhuntercommented, Nov 25, 2017

For anyone looking for a workaround, this is what worked for me: File > Project Structure > Modules > Android > Structure Change Manifest file from: C:\Users\username\IdeaProjects\myapp\android\AndroidManifest.xml To: C:\Users\username\IdeaProjects\myapp\android\app\src\main\AndroidManifest.xml

6reactions
abyarcvcommented, Mar 2, 2018

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 uno ifest.xml favor una ayudita¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡

Read more comments on GitHub >

github_iconTop 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 >

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