Android Studio stuck on “Gradle: resolve dependancies '_debugCompile'
First enable proxy for gradle on the gradle.properties file, both for http and https:
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=8080
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=8080
And then next by installing lib32stdc++6 and lib32z1 packages:
$ sudo apt-get install lib32stdc++6 lib32z1
I discover my problem with enabling debug and info option for gradlw command, that I run it on the root of project:
First with this command:
./gradlew --info --debug
And next with this command:
./gradlew --info --debug :app:generateDebugSources
Output debug (On Android Gui this section run again and agian on the background without you know about error message ):
./gradlew clean
./gradlew --refresh-dependencies clean
./gradlew --refresh-dependencies clean
Comments
Post a Comment