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

后端 未结 30 1993
盖世英雄少女心
盖世英雄少女心 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:00

    Very easy solution, just uninstall the app using below command even you did not found app on your device or emulator. This is because sometimes even you uninstall app from device from setting, that app still remains there for other users (Multi user feature in devices). So to completely remove the app from device, use below command and then try to install the app again (Restart the android studio to terminate process if it is already running)

    adb uninstall 
    

    e.g.

    adb uninstall com.example.myfirstflutterapp
    

提交回复
热议问题