Android Studio doesn't work fine with gradle 2.10 and gradle plugin 2.0.0-alpha5

前端 未结 6 1404
误落风尘
误落风尘 2020-12-31 06:08

I use com.android.tools.build:gradle:2.0.0-alpha3 and gradle 2.8 before I update to Android Studio 2.0 preview 5. It works fine.

After I update to 2.0 preview 5,it t

6条回答
  •  梦谈多话
    2020-12-31 06:40

    Your problem is with instant run, because if project builds and APK installs, it can't be Gradle issue.

    Instant Run is still under development and has this issue of not working properly.

    To disable the instant run:

    1. open properties,
    2. go to Editor > Build, Execution, Development > Instant Run,
    3. uncheck Enable instant Run to hotswap code

提交回复
热议问题