Android Studio 2.0 Preview 8 issue with gradle 2.10 and plugin 2.0.0-alpha7 -


i had issues gradle plugin 2.0.0-alpha6 , gradle 2.10 , solved them disabling instant run (as stated in android studio doesn't work fine gradle 2.10 , gradle plugin 2.0.0-alpha5).

i updated gradle plugin 2.0.0-alpha7 without issue

today updated android studio latest 2.0 preview 8 version , got following error again:

error:could not find com.android.tools.build:gradle:2.0.0-alpha7. searched in following locations: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha7/gradle-2.0.0-alpha7.pom https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha7/gradle-2.0.0-alpha7.jar

now, see clicking on links 2 files don't exist... but, same error if revert gradle plugin 2.0.0-alpha5 or 2.0.0-alpha6, doesn't make sense. maven environment down, maybe?

that's quite frustrating. now, tried check whether instant run enabled , got surprise: it's disabled , cannot enable-disable anymore, since android studio doesn't seem understand i'm building using gradle.

enter image description here

probably that's because can't find gradle files, therefore doesn't let me enable/disable features depend on te gradle plugin version. so, don't know do.

i incremented max heap size in build.gradle file

dexoptions {     incremental true     javamaxheapsize "4g" } 

this full build.gradle file (except var settings deleted it): https://gist.github.com/markco/60f4ac63f7cafb783f3a

from release notes @ http://tools.android.com/recent

we've pushed android studio 2.0 preview 8 canary channel, new version of gradle plugin: 2.0.0-alpha8. you'll want update both; instant run in particular enabled when using latest versions of both:

therefore try updating gradle plugin 2.0.0-alpha8


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -