My Android Studio cannot import gradle-core.jar.
The error message contained in the article,
Error: Could not download gradle-core.jar
(com.android.tools.build:gradle-core:2.1.2):
No cached version available for offline mode,
My android version is 2.2.2 and I use AMD processors, it makes me not able to install intel HAXM.
Anyone have a solution?
To download Gradle zip file on /temp directory, run the following command: $ wget https://services.gradle.org/distributions/gradle-6.0.1-bin.zip -P /temp. The wget command will download the Gradle version 6.0.
Microsoft Windows users In File Explorer right-click on the This PC (or Computer ) icon, then click Properties -> Advanced System Settings -> Environmental Variables . Under System Variables select Path , then click Edit . Add an entry for C:\Gradle\gradle-7.5.1\bin . Click OK to save.
I recently faced the same issue. Do the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With