Flutter stuck at Installing build\app\outputs\apk\app.apk
Solution 1:
For me, the error was due to my work android profile. I uninstalled the debug app in personal profile but it remained in the work profile, once I uninstalled it there and ran flutter run. It worked without any issues. So, First, ensure you deleted the App in both personal and work profile And then run
flutter run
Update:
By profiles I meant, android user profiles on your phone.
Solution 2:
I removed debug application from Android menu, and then I ran into the same issue. I restarted my phone, but it wasn't very helpful. My solution was to remove the application completely and reinstall it by hand:
Connect to the device with ADB
Use
adb uninstall com.example.application.name
Use
adb install C:\PathToYourProject\build\app\outputs\apk\app.apk
By the way, in such uneasy scenarios, flutter run --verbose
could provide more detailed information what went wrong.
Solution 3:
I ran into this issue after changing my package name. Following the instructions on this post helped me: Flutter App is not working after changing package name
Solution 4:
Try this
- First Install App using flutter run from terminal
- When App is Installed. long press on app icon and go to app info.
- Force stop app.
- Remove cache and delete storage which is contained by app.
- Uninstall App.
- Install Again. it will work.
Solution 5:
I solved this by manually installing the apk file generated in the builds folder. After that running flutter run
runs the app on my phone.