Common problems of android environment construction

 

1. ADT plugin download address

http://dl.google.com/android/ADT-[version number].zip to download

eg.  http://dl.google.com/android/ADT-23.0.6.zip

Recommend a website to download all the tools

http://tools.android-studio.org/index.php/sdk

 

Second, sdk download (version number can be replaced according to actual needs)

http://dl.google.com/android/android-sdk_r24.4.1-windows.zip

http://dl.google.com/android/android-sdk_r23.0.2-windows.zip

 

Three, sdk manager proxy settings

Set in Tool->option

Proxy server address mirrors.neusoft.edu.cn and port 80, and check "Force https://... sources to be fetched using http://..."

 

Fourth, the problem: emulator-5554 disconnected! Cancelling 'com.test.Test activity launch'!

Solution 1 (this is also the method I use):

Add a new environment variable named "ANDROID_SDK_HOME" (this variable name cannot be changed, it can only be this name!), and then change the variable value to the location where you want to put the ".android" folder (AVD information), Here I set it as Android SDK package, the value is: "D:\android-sdk-windows", the problem is solved.

 

Five, can not access dl-ssl.google.com can not download resources

dl-ssl.google.com changed to dl.google.com (so easy)

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326469456&siteId=291194637