Unable to create any project after upgrading to Android Studio 2.3

I am using Android Studio on Linux.

And today I updated it to version 2.3 stable, but now I can not create any of my projects or even create a new project.

There are no error messages, only the progress of the building works endlessly!

Change 1:

I also updated the Gradle plugin to 2.14.1 , which was a recommendation post after watching Android Studio 2.3

Edit 2:

I tried to build through CL

I used this command: ./gradlew assembleDebug

but that didn't work either! this error:

An exception in the "main" thread java.lang.RuntimeException: the timeout 120000 reached the expected exclusive access to the file: /home/atefhares/.gradle/wrapper/dists/ gradle-2.14.1-all / 8bnwg5hd3w55iofp58khbp6yv / gradle-2.14.1- all.zip in org.gradle.wrapper.ExclusiveFileAccessManager.access (ExclusiveFileAccessManager.java:61) on org.gradle.wrapper.Install.createDist (Install.java:48) in org.gradle.wrapper.WrapperExecutor.execute (WrapperExecutor. java: 128) in org.gradle.wrapper.GradleWrapperMain.main (GradleWrapperMain.java:61)


What should I do?

+3
android android-studio gradle
source share
1 answer

You probably had to upgrade Gradle as part of updating the IDE.

Android Gradle Plugin: 2.3.0 +
Gradle Version: 3.3+

You can specify the version of Gradle in File> Project Structure> Project in Android Studio or edit the Gradle distribution link in the file gradle/wrapper/gradle-wrapper.properties

More details here.

https://developer.android.com/studio/releases/gradle-plugin.html

+1
source share

All Articles