Skip to content Skip to sidebar Skip to footer

Reset Default Gradle And Plugin For Android Studio To Be Up To Date When Creating New Projects?

Is there a way to reset the default gradle and plugin, without resetting all my settings, so I don't keep having these errors when creating new projects? Error: Plugin is too old

Solution 1:

Android Studio Template Files located on below path:

{android_studio_installation_path}\plugins\android\lib\templates\

Now for editing every type of Android Studio Template Project you must edit respective file

For Example: (edit android studio new project template) we must edit below files:

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

In this file you must add dependencies that you want to add in every project that you create it, inside the block of dependencies

dependencies {}

Hope my description has been helpful

Solution 2:

I think you need to follow below step to use Default gradle wrapper(recommended):

Android studio -> Settings -> build tools -> gradle -> Project-level settings -> select Use default gradle wrapper(recommended).

And sync gradle and rebuild your project.

See Below image to get more idea:

enter image description here

It's work for me. I hope its helps you.

Post a Comment for "Reset Default Gradle And Plugin For Android Studio To Be Up To Date When Creating New Projects?"