Home > Mobile >  Run a simple hello android studio application offline or online mode?
Run a simple hello android studio application offline or online mode?

Time:11-17

Because we can not get access to the 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 the build of type org. Gradle. Invocation. DefaultGradle. (4 s 2 ms)
Under Caused by: groovy. Lang. MissingPropertyException: Could not set unknown property 'reposDir' for the build of type org. Gradle. Invocation. DefaultGradle.

I also followed instruction for replacing the Google () and jcenter () with Aliyun repositories, but no success.


Both 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 is included!
  • Related