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


i use com.android.tools.build:gradle:2.0.0-alpha3 , gradle 2.8 before update android studio 2.0 preview 5. works fine.

after update 2.0 preview 5,it tells me update com.android.tools.build:gradle:2.0.0-alpha5 , gradle 2.10.

i can't build , run app now. uses old copy of code though have changed code , costs more time build.

if turn com.android.tools.build:gradle:2.0.0-alpha3 , gradle 2.8.it become right.

android studio version (http://tools.android.com/recent)

android gradle plugin version (http://tools.android.com/tech-docs/new-build-system)

android studio preview 6 posted on jan 21, 2016. android studio preview 7 posted on jan 23, 2016.

you can see android studio preview updates frequently. if don't want deal kinds of bugs, better use stable version.

if want use more features, should keep latest version avoid bugs.

your problem instant run, because if project builds , apk installs, can't gradle issue.

instant run still under development , has issue of not working properly.

to disable instant run:

  1. open properties,
  2. go editor > build, execution, development > instant run,
  3. uncheck enable instant run hotswap code

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -