Flutter App stuck at “Running Gradle task 'assembleDebug'… ”

后端 未结 30 3551
你的背包
你的背包 2020-12-08 18:28

When I run the app it get stuck

Launching lib\\main.dart on Lenovo A319 in debug mode...
Running Gradle task \'assembleDebug\'...
(This is taking an unexpec         


        
30条回答
  •  隐瞒了意图╮
    2020-12-08 19:01

    With my LG G6 I have the same issue. It looks like the new versions of adb added some compatibility issues with some LG phones.

    Downgrading to platform-tools version 28.0.0 solved the problem.

    References:

    https://superuser.com/questions/1357708/android-adb-logcat-works-only-on-shell/1357929#1357929

    https://github.com/flutter/flutter/issues/18889#issuecomment-421432066

提交回复
热议问题