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

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

    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:

    1. Connect to the device with ADB

    2. Use adb uninstall com.example.application.name

    3. 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.

提交回复
热议问题