首页 > 代码库 > android开发环境搭建问题

android开发环境搭建问题

参考百度经验:http://jingyan.baidu.com/article/f0062228f0b18afbd2f0c871.html

在安装android的开发环境时出现如下问题

问题1:Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to https://dl-ssl.google.com refused

问题2:Download interrupted: Connection to https://dl-ssl.google.com refused

安装的内容可以从中国的镜像站下载:http://mirrors.neusoft.edu.cn/android/repository/

 

 

Android应用开发相关下载资源(转)



(1)Android SDK (Android SDK主安装包,包含SDK Manager、AVD Manager、工具包tools,释放后的根文件夹为android-sdk-windows):
revision 22.6.2
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/installer_r22.6.2-windows.exe
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
revision 23
http://dl.google.com/android/android-sdk_r23-windows.zip
http://dl.google.com/android/installer_r23-windows.exe
http://dl.google.com/android/android-sdk_r23-macosx.zip
http://dl.google.com/android/android-sdk_r23-linux.tgz


(2)tools (Android SDK的工具包,释放到android-sdk-windows下,文件夹tools覆盖android-sdk-windows/tools)
revision 22.6.4
https://dl-ssl.google.com/android/repository/tools_r22.6.4-windows.zip
https://dl-ssl.google.com/android/repository/tools_r22.6.4-linux.zip
https://dl-ssl.google.com/android/repository/tools_r22.6.4-macosx.zip
revision 23
https://dl-ssl.google.com/android/repository/tools_r23-windows.zip
https://dl-ssl.google.com/android/repository/tools_r23-linux.zip
https://dl-ssl.google.com/android/repository/tools_r23-macosx.zip


(3)platform-tools (Android平台工具包,释放到android-sdk-windows下,产生文件夹platform-tools)
revision 19
https://dl-ssl.google.com/android/repository/platform-tools_r19-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r19-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r19-macosx.zip
revision 19.0.2
https://dl-ssl.google.com/android/repository/platform-tools_r19.0.2-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r19.0.2-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r19.0.2-macosx.zip
revision 20
https://dl-ssl.google.com/android/repository/platform-tools_r20-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r20-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r20-macosx.zip


(4)build-tools (释放到android-sdk-windows下,产生文件夹build-tools,各版本都可能用到)
revision 17
https://dl-ssl.google.com/android/repository/build-tools_r17-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r17-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r17-macosx.zip
revision 18.0.1
https://dl-ssl.google.com/android/repository/build-tools_r18.0.1-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r18.0.1-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r18.0.1-macosx.zip
revision 18.1
https://dl-ssl.google.com/android/repository/build-tools_r18.1-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r18.1-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r18.1-macosx.zip
revision 18.1.1
https://dl-ssl.google.com/android/repository/build-tools_r18.1.1-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r18.1.1-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r18.1.1-macosx.zip
revision 19
https://dl-ssl.google.com/android/repository/build-tools_r19-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r19-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r19-macosx.zip
revision 19.0.1
https://dl-ssl.google.com/android/repository/build-tools_r19.0.1-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r19.0.1-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r19.0.1-macosx.zip
revision 19.0.2
https://dl-ssl.google.com/android/repository/build-tools_r19.0.2-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r19.0.2-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r19.0.2-macosx.zip
revision 19.0.3
https://dl-ssl.google.com/android/repository/build-tools_r19.0.3-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r19.0.3-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r19.0.3-macosx.zip
revision 19.1
https://dl-ssl.google.com/android/repository/build-tools_r19.1-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r19.1-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r19.1-macosx.zip
revision 20
https://dl-ssl.google.com/android/repository/build-tools_r20-windows.zip
https://dl-ssl.google.com/android/repository/build-tools_r20-linux.zip
https://dl-ssl.google.com/android/repository/build-tools_r20-macosx.zip


(5)platforms (各种版本的Android平台,释放到android-sdk-windows/platforms下)
Android 1.1 (API 2):
https://dl-ssl.google.com/android/repository/android-1.1_r1-windows.zip
https://dl-ssl.google.com/android/repository/android-1.1_r1-linux.zip
https://dl-ssl.google.com/android/repository/android-1.1_r1-macosx.zip
Android 1.5 (API 3):
https://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-linux.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-macosx.zip
Android 1.6 (API 4):
https://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
https://dl-ssl.google.com/android/repository/android-1.6_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-1.6_r03-macosx.zip
Android 2.0 (API 5) Obsolete:
https://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
https://dl-ssl.google.com/android/repository/android-2.0_r01-linux.zip
https://dl-ssl.google.com/android/repository/android-2.0_r01-macosx.zip
Android 2.0.1 (API 6) Obsolete:
https://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
https://dl-ssl.google.com/android/repository/android-2.0.1_r01-linux.zip
https://dl-ssl.google.com/android/repository/android-2.0.1_r01-macosx.zip
Android 2.1 (API 7):
https://dl-ssl.google.com/android/repository/android-2.1_r03-linux.zip
Android 2.2 (API 8):
https://dl-ssl.google.com/android/repository/android-2.2_r03-linux.zip
Android 2.3 (API 9) Obsolete:
https://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
Android 2.3.3 (API 10):
https://dl-ssl.google.com/android/repository/android-2.3.3_r02-linux.zip
Android 3.0 (API 11):
https://dl-ssl.google.com/android/repository/android-3.0_r02-linux.zip
Android 3.1 (API 12):
https://dl-ssl.google.com/android/repository/android-3.1_r03-linux.zip
Android 3.2 (API 13):
https://dl-ssl.google.com/android/repository/android-3.2_r01-linux.zip
Android 4.0 (API 14):
https://dl-ssl.google.com/android/repository/android-14_r03.zip
Android 4.0.3 (API 15):
https://dl-ssl.google.com/android/repository/android-15_r03.zip
Android 4.1.2 (API 16):
https://dl-ssl.google.com/android/repository/android-16_r04.zip
Android 4.2.2 (API 17):
https://dl-ssl.google.com/android/repository/android-17_r02.zip
Android 4.3 (API 18):
https://dl-ssl.google.com/android/repository/android-18_r02.zip
Android 4.4.2 (API 19):
https://dl-ssl.google.com/android/repository/android-19_r03.zip
Android 4.4W (API 20):
https://dl-ssl.google.com/android/repository/android-20_r01.zip
Android L (API 20, L Preview):
https://dl-ssl.google.com/android/repository/android-L_r01.zip


(6)system-images (Android系统镜像,释放到android-sdk-windows/system-images/android-xx下[xx对应api版本数字])
system-images/android-10
http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-10_r02.zip
system-images/android-14
https://dl-ssl.google.com/android/repository/sysimg_armv7a-14_r02.zip
system-images/android-15
https://dl-ssl.google.com/android/repository/sysimg_armv7a-15_r02.zip
https://dl-ssl.google.com/android/repository/sys-img/mips/sysimg_mips-15_r01.zip
https://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-15_r01.zip
system-images/android-16
https://dl-ssl.google.com/android/repository/sysimg_armv7a-16_r03.zip
https://dl-ssl.google.com/android/repository/sys-img/mips/sysimg_mips-16_r04.zip
https://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-16_r01.zip
system-images/android-17
http://dl-ssl.google.com/android/repository/sysimg_armv7a-17_r02.zip
http://dl-ssl.google.com/android/repository/sys-img/mips/sysimg_mips-17_r01.zip
http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-17_r01.zip
system-images/android-18
http://dl-ssl.google.com/android/repository/sysimg_armv7a-18_r02.zip
http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-18_r01.zip
system-images/android-19
http://dl-ssl.google.com/android/repository/sysimg_armv7a-19_r02.zip
http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-19_r02.zip
system-images/android-20/android-wear
https://dl-ssl.google.com/android/repository/sys-img/android-wear/android-wear-sysimg-1077298.zip
https://dl-ssl.google.com/android/repository/sys-img/android-wear/sysimg_wear_arm-20_r01.zip
https://dl-ssl.google.com/android/repository/sys-img/android-wear/sysimg_wear_x86-20_r01.zip
system-images/android-L
https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_armv7a-L_r01.zip
https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-L_r01.zip
system-images/android-L/android-tv
https://dl-ssl.google.com/android/repository/sys-img/android-tv/sysimg_tv_arm-L_r01.zip
https://dl-ssl.google.com/android/repository/sys-img/android-tv/sysimg_tv_x86-L_r01.zip


(7)docs (文档,释放到android-sdk-windows下,会产生文件夹docs)
https://dl-ssl.google.com/android/repository/docs-16_r03.zip
https://dl-ssl.google.com/android/repository/docs-17_r02.zip
https://dl-ssl.google.com/android/repository/docs-18_r01.zip
https://dl-ssl.google.com/android/repository/docs-19_r01.zip
https://dl-ssl.google.com/android/repository/docs-L_r01.zip


(8)samples (应用实例,释放到android-sdk-windows/samples下)
https://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.3.3_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.0_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.1_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.2_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-14_r02.zip
https://dl-ssl.google.com/android/repository/samples-15_r02.zip
https://dl-ssl.google.com/android/repository/samples-16_r01.zip
https://dl-ssl.google.com/android/repository/samples-17_r01.zip
https://dl-ssl.google.com/android/repository/samples-18_r01.zip
https://dl-ssl.google.com/android/repository/samples-19_r05.zip
https://dl-ssl.google.com/android/repository/samples-20_r01.zip
https://dl-ssl.google.com/android/repository/samples-L_r01.zip


(9)sources (Android SDK源程序,释放到android-sdk-windows/sources/android-xx下[xx对应api版本数字])
https://dl-ssl.google.com/android/repository/sources-14_r01.zip
https://dl-ssl.google.com/android/repository/sources-15_r02.zip
https://dl-ssl.google.com/android/repository/sources-16_r02.zip
https://dl-ssl.google.com/android/repository/sources-17_r01.zip
https://dl-ssl.google.com/android/repository/sources-18_r01.zip
https://dl-ssl.google.com/android/repository/sources-19_r02.zip
https://dl-ssl.google.com/android/repository/sources-20_r01.zip


(10)extras (扩展应用,释放到android-sdk-windows/extras下)
Android Support Repository(extras/android/m2repository)
https://dl-ssl.google.com/android/repository/android_m2repository_r05.zip
https://dl-ssl.google.com/android/repository/android_m2repository_r06.zip
Android Support Library(extras/android/support)
https://dl-ssl.google.com/android/repository/support_r19.zip
https://dl-ssl.google.com/android/repository/support_r19.0.1.zip
https://dl-ssl.google.com/android/repository/support_r19.1.zip
https://dl-ssl.google.com/android/repository/support_r20.zip
Google AdMob Ads SDK(extras/google/admob_ads_sdk)
https://dl-ssl.google.com/googleadmobadssdk/googleadmobadssdkandroid-6.4.1.zip
Google Analytics App Tracking SDK(extras/google/analytics_sdk_v2)
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_1.4.2.zip
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta4.zip
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta4.1.zip
https://dl-ssl.google.com/android/repository/GoogleAnalyticsAndroid_2.0beta4.1.zip
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta5.zip
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta5.zip
[Deprecated]Google Cloud Messaging for Android Library(extras/google/gcm)
https://dl-ssl.google.com/android/repository/gcm_r03.zip
Google Play services for Froyo
https://dl-ssl.google.com/android/repository/google_play_services_3265130_r12.zip
Google Play services(extras/google/google_play_services)
https://dl-ssl.google.com/android/repository/google_play_services_4452030_r17.zip
Google Repository(extras/google/m2repository)
https://dl-ssl.google.com/android/repository/google_m2repository_r08.zip
Google Play APK Expansion Library(extras/google/play_apk_expansion)
https://dl-ssl.google.com/android/repository/market_apk_expansion-r03.zip
Google Play Billing Library(extras/google/play_billing)
https://dl-ssl.google.com/android/repository/play_billing_r05.zip
Google Play Licensing Library(extras/google/play_licensing)
https://dl-ssl.google.com/android/repository/market_licensing-r02.zip
Google USB Driver(extras/usb_driver)
https://dl-ssl.google.com/android/repository/usb_driver_r10-windows.zip
Google Web Driver(extras/google/webdriver)
https://dl-ssl.google.com/android/repository/webdriver_r02.zip
Intel x86 Emulator Accelerator(HAXM)(extras/intel/Hardware_Accelerated_Execution_Manager)
https://download-software.intel.com/sites/landingpage/android/extra_intel_haxm-windows_r03.zip
https://download-software.intel.com/sites/landingpage/android/extra_intel_haxm-macosx_r02.zip
https://dl-ssl.google.com/android/repository/extras/intel/haxm-windows_r04.zip
https://dl-ssl.google.com/android/repository/extras/intel/haxm-macosx_r04.zip


(11)add-ons (google手机api,释放到android-sdk-windows/add-ons/)
addon-google_apis-google-xx[xx对应api版本数字]
https://dl-ssl.google.com/android/repository/google_apis-3-r03.zip
https://dl-ssl.google.com/android/repository/google_apis-4_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-5_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-6_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-7_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-9_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-10_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-11_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-12_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-13_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-14_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-15_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-16_r03.zip
https://dl-ssl.google.com/android/repository/google_apis-17_r03.zip
https://dl-ssl.google.com/android/repository/google_apis-18_r03.zip
https://dl-ssl.google.com/android/repository/google_apis-19_r05.zip  Google APIs (ARM System Image)
https://dl-ssl.google.com/android/repository/sys-img/x86/google_apis_x86-19_r05.zip  Google APIs (x86 System Image)


https://dl-ssl.google.com/android/repository/google_tv-12_r02.zip
https://dl-ssl.google.com/android/repository/google_tv-13_r01.zip


addon-intel_atom_x86_system_image-intel_corporation-xx
https://software.intel.com/sites/landingpage/android/addon_intel_sysimg_2.3.7_api-10.zip
addon-dual_screen_apis-kyocera_corporation-xx (Dual Screen api)
http://dl.kyocera-wireless.com/echobykyocera.com/ECHO-SDK-v1-03.zip
http://dl.kyocera-wireless.com/echobykyocera.com/ECHO-SDK-v2-00.zip
addon-sony_xperia_extensions_edk_2_0-sony_mobile_communications_ab-xx
http://dl-developer.sonymobile.com/edk/android/edk_2.0_ver2.zip
addon-real3d-lge-xx
http://developer.lgmobile.com/sdk/android/Real3D_addon_api-8_r01.zip
http://developer.lgmobile.com/sdk/android/Real3D_SDK_api-10_r02.zip
http://developer.lgmobile.com/sdk/android/Real3D_SDK_api-14_r01.zip
addon-htc_opensense_sdk-htc-15
http://dl.htcdev.com/sdk/zip/htc_opensense_sdk.zip
addon-htc_opensense_apis-16
http://dl.htcdev.com/sdk/zip/htc_opensense_apis.zip


说明: 以上第(3)点及以后,可以将安装包放在文件夹android-sdk-windows/temp下,通过SDK Manager自动安装释放到相应位置.


(12)ADT Plugin for Eclipse
http://dl.google.com/android/ADT-22.2.1.zip
http://dl.google.com/android/ADT-22.3.0.zip
http://dl.google.com/android/ADT-22.6.2.zip
http://dl.google.com/android/ADT-22.6.3.zip


(13)Android Developer Tools(基于Eclipse的Android开发环境,已包含Eclipse与ADT).
revision 22.6.2
http://dl.google.com/android/adt/22.6.2/adt-bundle-windows-x86-20140321.zip
http://dl.google.com/android/adt/22.6.2/adt-bundle-windows-x86_64-20140321.zip
http://dl.google.com/android/adt/22.6.2/adt-bundle-mac-x86_64-20140321.zip
http://dl.google.com/android/adt/22.6.2/adt-bundle-linux-x86-20140321.zip
http://dl.google.com/android/adt/22.6.2/adt-bundle-linux-x86_64-20140321.zip
revision 23
http://dl.google.com/android/adt/adt-bundle-windows-x86-20140624.zip
http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140624.zip
http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140624.zip
http://dl.google.com/android/adt/adt-bundle-linux-x86-20140624.zip
http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140624.zip


(14)Android NDK
revision 9b
http://dl.google.com/android/ndk/android-ndk-r9b-windows-x86.zip
http://dl.google.com/android/ndk/android-ndk-r9b-windows-x86-legacy-toolchains.zip
http://dl.google.com/android/ndk/android-ndk-r9b-windows-x86_64.zip
http://dl.google.com/android/ndk/android-ndk-r9b-windows-x86_64-legacy-toolchains.zip
http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86-legacy-toolchains.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64-legacy-toolchains.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86-legacy-toolchains.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86_64.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86_64-legacy-toolchains.tar.bz2
revision 9d
http://dl.google.com/android/ndk/android-ndk-r9d-windows-x86.zip
http://dl.google.com/android/ndk/android-ndk-r9d-windows-x86_64.zip
http://dl.google.com/android/ndk/android-ndk-r9d-darwin-x86.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9d-darwin-x86_64.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86_64.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9d-cxx-stl-libs-with-debug-info.zip


(15)Android Studio
revision 0.8.0
http://dl.google.com/android/studio/install/0.8.0/android-studio-bundle-135.1245622-windows.exe
http://dl.google.com/android/studio/install/0.8.0/android-studio-bundle-135.1245622-mac.dmg
http://dl.google.com/android/studio/install/0.8.0/android-studio-bundle-135.1245622-linux.tgz


Android SDK 官方下载页面
http://developer.android.com/sdk/index.html


Android SDK 国内镜像站点(貌似已不可用)
http://mirrors.neusoft.edu.cn/android/repository/


Android Open Source
https://android.googlesource.com/
https://developers.google.com/android/nexus/images


Android Open Source 国内镜像站点

http://mirror.neu.edu.cn/android/

android开发环境搭建问题