Because we can not get access to repositories {
google()
jcenter()
}
it is very hard to build and run a Android studio application, is it possible to run android studio in a full offline mode?
When I follow the official document to run the android studio in offline mode, it keep giving me the following error:
3:31 PM Gradle sync failed: Could not set unknown property 'reposDir' for build of type org.gradle.invocation.DefaultGradle. (4 s 2 ms)
Caused by: groovy.lang.MissingPropertyException: Could not set unknown property 'reposDir' for build of type org.gradle.invocation.DefaultGradle.
I also followed instruction for replacing the google() and jcenter() with Aliyun repositories, but no success.
Please advise how to run a simple hello android studio application in offline mode or online mode according to the actual situation? Thank you very much for the help and much appreciated!
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/221117.html
標籤:Android
上一篇:Run a simple hello android studio application offline or online mode?
