android sdk install

来源:互联网 发布:在centos上安装jdk 编辑:程序博客网 时间:2024/05/17 21:58

1、download Android SDK .zip

2、UNZIP the file

3、run the SDK Manager.exe

4、now you may see the bottom Fecthing http:..... Generally speaking, in China mainland, the google site is unaccessable, so you may crash done in this  stage by :Done loading packages

(if you choose Android SDK now, you cannot  click install 1(or more) packages; then, if you can install 1 package(s) somehow, then you may run into: this package depends on “missing sdk platform-tools, revision 18)

solution:

<span style="color:#ff0000;">1、use http instead of https</span>
SDK Manager  Tools->Options

2、edit the host file:

C:\WINDOWS\system32\drivers\etc, you can find the host file, open and add these at the end of the file
<pre name="code" class="cpp">#google_android update203.208.46.146 dl.google.com203.208.46.146 dl-ssl.google.com


0 0