Error only in release 1.5?

Work with Linux.

Android Studio 1.4 informed me that 1.5 is available in a stable channel; I have updated.

Later, it seems 1.5 looks like "w140" 2.4; but 2.8 seems to be actually installed.

More details:

  • After the upgrade, Gradle crashed in the project that opened.
  • Error message: ... / android -studio / gradle / gradle -2.4 / lib / plugins / gradle -diagnostics-2.4.jar (There is no such file or directory)
  • But a specific subdirectory option in the Gradle gradle -2.8 directory
  • The update procedure itself did not complain about any problems.
  • The update was performed without any open source projects; The update was performed from the Studio main panel.
  • After updating the Studio itself through "Configure", the "SDK Manager" went from the main panel, and then upgraded to the latest compatible SDK.

Has anyone had a similar problem?

+4
source share
3 answers

Yes, there was a problem with this update.

Open the gradle -wrapper.properties file in your project using the Android view:

Just change version 2.4 to 2.8:

distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip

Restart Android Studio.

+2
source

- , Gradle JVM, ; - JVM , Studio . Studio, JVM , Studio 1.5, , .

!

0

There is a specific upgrade issue, as I ran into the same issue. Although rebooting the system (Mac) fixed it.

0
source

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


All Articles