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