Reset default gradle and plugin for android studio to update when creating new projects?

Is there a way to reset the default gradle and plugin without reloading all my settings, so I will not have these errors when creating new projects?

Error: the plugin is too old, upgrade it to a later version or set the ANDROID_DAILY_OVERRIDE environment variable to

enter image description here

enter image description here

So, at the top level of build.gradle, I upgrade to:

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

}

enter image description here

enter image description here

And then change gradle to 2.10 as required here.

2.0.0-alpha5 (2016/1/14) // hence alpha6 Needs gradle 2.10 to work

enter image description here

+4
source share
2 answers

, , gradle ():

Android → → → gradle → → gradle ().

gradle .

, :

enter image description here

. , .

+2

Android Studio, :

{android_studio_installation_path}\Plugins\Android\Lib\\

Android Studio Template Project

: ( Android)
:

{above_path}\ gradle -\NewAndroidModule\\build.gradle.ftl

, ,

dependencies {}

,

0

Source: https://habr.com/ru/post/1625771/


All Articles