简体   繁体   中英

How to install android studio on windows without internet?

I want to install on a windows pc Android Studio without internet. I will download all the package before and then install it. I tried it during 1 week but i don't know how to do.

I don't know how can i download all the "extras" in the SDK with a 26+ version, because since SDK 26, all the files are downloaded directly from the google's maven repository (maven.google.com). I've tried to retrieve on a local maven repo all the files in the google's repository but it doesn't work at all.

I know that this question has been asked many times but it was 2 years ago.

Ok finally, I've got it.

I did this:
- I erased all repositories in the build.gradle

repositories {
    *google()*  <-- x
    *jcenter()* <-- x
}
  • I resolved all the dependencies by adding one by one every files from my "online" pc, .gradle and .m2 (using maven, and adding dependencies to the pom.xml) repositories to the m2repository directory of the "offline" pc.

The https://dl.google.com/dl/android/studio/ide-zips/3.0.1.0/android-studio-ide-171.4443003-windows.zip Doesnt have a installer. Maybe the sdk is already in that file. You can try that

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM