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

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

    This happened for me because there was a typo in gradle.properties. I assume it had something to do with the refactor tool in Android Studio. Two settings ended up on the same line like this:

    android.enableJetifier = trueandroid.enableR8=true
    

    When I fixed it, it worked again.

提交回复
热议问题