We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 Android 模拟器测试程序的时候,模拟器的速度慢到令人抓狂,以至于之前用 cocos2d-x 调试游戏程序的时候,不得不用从来没用过的 Xcode,用流畅的 iOS 模拟器来调试。
最近注意到 Crosswalk project,可以结合 Cordova 写 H5 App,但是 Cordova 编译安装的速度太慢,在搜寻实时编译的解决方案时却看到了 Intel Hardware Accelerated Execution Manager,即针对模拟器的硬件加速方案(参考使用 Intel HAXM 为 Android 模拟器加速,媲美真机)。
可以通过 Android SDK Manager > Packages > Extras > Intel x86 Emulator Accelerator(HAXM installer)选择安装:
Android SDK Manager > Packages > Extras > Intel x86 Emulator Accelerator(HAXM installer)
需要注意的是在 OS X 系统中只是将 installer 下载到 /path/to/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_xxx.dmg,要手动安装才可以。
/path/to/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_xxx.dmg
然后在创建模拟器时选择CPU为Intel Atom x86;同时如果是 Crosswalk + Cordova 模式下开发,还需要单独下载crosswalk-cordova-xxxx-x86才可以编译生成 x86 版本的 apk。
CPU
Intel Atom x86
crosswalk-cordova-xxxx-x86
从最终效果来看,确实加速很多,但别说媲美真机,还是不如 iOS 模拟器流畅。。。另外 Cordova 编译速度慢的问题,还是没有好的解决方案:(
The text was updated successfully, but these errors were encountered:
rainyear
No branches or pull requests
使用 Android 模拟器测试程序的时候,模拟器的速度慢到令人抓狂,以至于之前用 cocos2d-x 调试游戏程序的时候,不得不用从来没用过的 Xcode,用流畅的 iOS 模拟器来调试。
最近注意到 Crosswalk project,可以结合 Cordova 写 H5 App,但是 Cordova 编译安装的速度太慢,在搜寻实时编译的解决方案时却看到了 Intel Hardware Accelerated Execution Manager,即针对模拟器的硬件加速方案(参考使用 Intel HAXM 为 Android 模拟器加速,媲美真机)。
可以通过
Android SDK Manager > Packages > Extras > Intel x86 Emulator Accelerator(HAXM installer)
选择安装:需要注意的是在 OS X 系统中只是将 installer 下载到
/path/to/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_xxx.dmg
,要手动安装才可以。然后在创建模拟器时选择
CPU
为Intel Atom x86
;同时如果是 Crosswalk + Cordova 模式下开发,还需要单独下载crosswalk-cordova-xxxx-x86
才可以编译生成 x86 版本的 apk。从最终效果来看,确实加速很多,但别说媲美真机,还是不如 iOS 模拟器流畅。。。另外 Cordova 编译速度慢的问题,还是没有好的解决方案:(
The text was updated successfully, but these errors were encountered: