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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -