This version of android studio is incompatible with the gradle version used.Try disabling the instant run

前端 未结 10 1092
长发绾君心
长发绾君心 2020-12-07 20:05

I am able to build the app properly, but when I run it I get this error:

This version of android studio is incompatible with the gradle version used.Try dis         


        
10条回答
  •  情歌与酒
    2020-12-07 20:30

    You can disable instant run by follow these steps in Android Studio:

    File → Settings → Preferences dialog → Build → Execution → Deployment → Instant Run → Update Project

    This feature introduced in Android Studio 2. however, when you disable it, next time when you try to push new app to your emulator is running much slower.

    In my case I just update Android Studio to the latest build from canary channel and it's works without disable this feature.

    Hope it's help

提交回复
热议问题