Cannot change dependencies of configuration (after enabling instant run)

后端 未结 8 2165
眼角桃花
眼角桃花 2020-12-08 04:05

I just enabled instant run in my android studio project. (Followed the instructions here)

My project contains git submodules and somehow th

8条回答
  •  清歌不尽
    2020-12-08 04:18

    classpath 'com.android.tools.build:gradle:2.0.0-alpha1'

    try to change it to

     classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
    

    alpha1 seems obsolete since today (?) and is not compiling any more. Also you'll have to upgrade your gradle to latest 2.10 to work with alpha6

提交回复
热议问题