1、直接去官网下载adt-bundle-windows-x86-20130219.zip(32位)或者adt-bundle-windows-x86_64-20130219.zip(64位),然后解压,不要有中文、空格。
然后运行SDK Manager.exe下载。
2、新建AVD,如果AVD的路径有中文或者空格,则AVD启动不起来。
解决办法,在环境变量中当前用户、系统中建上变量名:ANDROID_SDK_HOME,值:D:\android\avd(实际情况创建,不能有中文,最好不要有空格,不能有分号;)。
则新建AVD建立成功。
3、新建模拟器后如果启动失败,错误是:
Starting emulator for AVD 'AVD Name'
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
则可以通过:
D:\android\avd\.android\avd\avd2.avd\config.ini的hw.ramSize=512,在512后面加上MB。