'Stuck at installing build\app\outputs\apk\app.apk in Flutter... after uninstalling the app
I have read this and this, but nowhere could I find a good answer. I have a problem when I try to run the app. Initially it was working completely fine, but I uninstalled my app from my Android device for some reason and now when I try to run the app on my Android phone it is stuck at installing build\app\outputs\apk\app.apk...
PS: it also successfully installs at my friend's device. It is only stuck when I try to run in my phone. Also other projects are successfully loaded too, but I even tried to create a new project and copy all files from the old one and tried to run, but that didn't work for me either.
Solution 1:[1]
Run flutter clean and check if you have enough memory on your device.
Solution 2:[2]
I got around this problem by typing this command in the Terminal:
flutter run -d <deviceId>
For my LG phone, it was:
flutter run -d LGUS998d7315d51
Solution 3:[3]
The problem occurs if your device has an incomplete installed app with the same package name.
Solution:
- Uninstall any app in your device that has the same package name
- See the Settings/app whether it is completely uninstalled or not. If not, uninstall from there also.
- If possible, erase your internal storage.
- Push your project to GitHub
- Delete the project from your harddisk.
- Download the project and unzip it
- Run it
I lost all four days regarding this problem. I tried all the solutions I found. But at last I solved this issue by doing the above things.
Solution 4:[4]
I tried all the solutions in the previous answers.
What worked for me: just restart your physical device. It will work.
Solution 5:[5]
I also had this issues, I solved this by copying the apk file into my device internal memory and installed it back.
The apk file location build\app\outputs\flutter-apk\app-debug.apk
Solution 6:[6]
I solved that issue by
- run
flutter cleanin external terminal (windows). - completely delete your app in mobile (from storage and private space if have) settings -> app -> selected your app and click "uninstall from all users"
- run
flutter runin external terminal it's work
Solution 7:[7]
Try this
- Run
flutter clean - Restart vs code/android studio
- Restart your device
- Run with
flutter runor crtl + F5 for vs code
Solution 8:[8]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow


