1、Andriod Studio建议用1.5版本,比较流畅。
2、独立的SDK管理器要配置国内服务器IP,在官网上找到配置
3、AVD的安装
用BUNDLE安装好后,要在BIOS开启虚拟技术。
在SDK Manager里下载Intel x86 Emulator Accelerator…以后,虽然显示Installed,但还得到SDK目录下extras\intel\Hardware_Accelerated_Execution_Manager手动安装(参数设为1024M够用了,需要改参数的话可以重新安装一次)
4、在SDK Manager下载对应的x86镜像(Intel x86 Atom System Image或Intel x86 Atom_64 System Image),对应的版本是你所用android版本(如5.1 4.4 4.3等等)下的x86镜像
5、在AVD Manager中新建android模拟机时,CPU/ABI应选择x86(或x86_64),然后Emulated performance应选择use host GP
6.
问题:出现错误Error:(1, 0) Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory….
解决:
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
将最新路径 gradle是 1.5.0, 其他项目是 1.2.3, 我将路径中的1.5.0改为1.2.3,工作正常
7.
问题:单独的SDK管理器无法联网更新
Fetching http://dl-ssl.google.com/android/repository/addons_list-2.xml
Fetched Add-ons List successfully
等字样
解决:Tool –options里面设置国内代理如
大连东软信息学院镜像服务器地址:http://mirrors.neusoft.edu.cn 端口:80
则Proxy Server设置为 mirrors.neusoft.edu.cn
端口Port设置为 80即可,另外最好不要设置为腾讯代理,要设置为腾讯代理还得有其他步骤,这部分详见官网