Flutter卡在 Installing build\app\outputs\flutter-apk\app.apk

Launching lib/main.dart on POCO F1 in debug mode…
Initializing gradle… 1.5s
Resolving dependencies… 9.2s
Gradle task ‘assembleDebug’… 22.9s
Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk…

就卡这里了…
在任务管理器里面找到adb.exe
打开adb.exe文件所在位置
stackOverflow上的方案

  • Connect to the device with ADB
  • Use adb uninstall com.example.application.name
  • Use adb install C:\PathToYourProject\build\app\outputs\apk\app.apk
    原文链接

猜你喜欢

转载自blog.csdn.net/weixin_45867397/article/details/121446553