android studio 环境配置

遇到哪些坑:

  • Gradle:configure project 卡死在此处
  • Haxm is not installed
  • hax is not working and emulator runs in emulation mode(Haxm安装之后)
  • Genymotion插件安装及使用

 

他们的解决方法:

  • Gradle:configure project

    此处需要FQ,等5-7min

    若不行,点击cancel在里面依然能完成gradle的下载配置

  • Haxm is not installed

    SDK manager->android SDK->SDK tools->安装Intel x86 Emulator Accelerrator

    安装好后进入这个文件夹:

    C:\Users\Gaby\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager

    启动intallHaxm.exe 

  • hax is not working and emulator runs in emulation mode(Haxm安装之后)

    这个问题是安装Haxm时,设定的虚拟器大小1024MB

    点击AVD manager->Edit AVD->show advanced settings->在RAM处改成1024

    必须使得HAXM所配置的大小>=某个模拟器的RAM大小

  • Genymotion插件安装及使用

    参见https://www.genymotion.com/#!/developers/user-guide#genymotion-plugin-for-android-studio

    唯一需要注意的是,启动好的模拟器就别关了,桌面启动完成后

    再点击app的run,东西就会跳出来

 

 

  Android Studio开发环境配置遇到就此四坑,打完!

posted @ 2015-11-30 16:25  Gabyler  阅读(955)  评论(0编辑  收藏  举报