Ali.Rashidi Ali.Rashidi - 1 year ago 106
Android Question

How to run android studio first time when i'm offline?

I have no internet connection. I want to use android studio but it gives me Gradle sync errors every time I try to use it.

Is there a way to run android studio without internet?

Note that I have SDK and JDK running well.

Cant resolve jUnit error

My java codes are not resolved too.
Java methods error

Answer Source

Download the latest gradle file from here. Then in your Android Studio goto File->Settings->Build,Execution,...->Build Tools->Gradle. Then In the right side Check the "Use local gradle distribution" and then set the downloaded file as your gradle home. Below, in the Global gradle settings check the Offline Work option.->Click Ok.

But Even though doing this will let you create a simple android app, you won't be able to import any external libs.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download