Flutter stuck at Installing build\app\outputs\apk\app.apk

后端 未结 30 1859
盖世英雄少女心
盖世英雄少女心 2020-12-08 13:21

when I run

$ flutter run

I\'m getting a prompt on my mobile device asking if I want to install the app on my device. I give yes, then nothing

相关标签:
30条回答
  • 2020-12-08 14:03

    try this :

    • delete "build" package
    • apply "flutter run" command

    0 讨论(0)
  • 2020-12-08 14:04

    Background: While the app was being installed by Android Studio, I manually deleted the app from the device. Thereafter I discovered that the app would not install.

    This problem was resolved by going to Settings > Apps and noting that the app was disabled rather than uninstalled even though I did confirm the uninstall request. In any case, I tapped the app and performed an uninstall from the Settings > Apps screen.

    0 讨论(0)
  • 2020-12-08 14:04

    copy the Apk from build\app\outputs\apk\app.apk to your phone.

    find the apk on phone and install it manually.

    flutter run on will now work as expected.

    0 讨论(0)
  • 2020-12-08 14:07

    I solved this issue but I would like mention few things. 1. My Fresh Installation was stuck at Installing APK... 2. Same issue on Device as well as in Emulator

    I realized that this issue is not device-specific for me. that's why I started looking for solutions.

    Solution I tried 1. Flutter Upgrade ( Using Fresh Copy from Flutter.dev) Didn't Solve my Issue 2. Android SDK (Using Fresh Android SDK) Didn't Solve my Issue

    Luckily, I found an article that explained you need to keep a few directories out from realtime scanning. I was using FREE-Antivirus

    I just tried to Uninstall that and Re-started my machine.

    Guess What? Issue Solved :)

    0 讨论(0)
  • 2020-12-08 14:08

    Check if you have Guest User in your Device ... Go to that user uninstall the application from guest and then switch to your account and then try running it works.

    0 讨论(0)
  • 2020-12-08 14:09

    For me, it was a package: admob_flutter

    I'd compiled and updated dependencies but used wrong the package. I realize it by looking at the Log in View -> Tool Windows -> Logcat (ALT+6) in Android Studio.

    Before the app running in AVD was crashing, but I didn't know why, not seen an error in the Run Terminal, but the Logcat helped me.

    Hope it helps someone.

    0 讨论(0)
提交回复
热议问题