简体   繁体   中英

Is there a way I can run android OS and apps from my windows PC?

我正在开发一个Android应用程序,并希望测试最新版本的Android,我还需要检查谷歌商店的一些应用程序,所以有没有办法从我的电脑运行完整的Android操作系统,我搜索并发现一些告诉使用虚拟机,但我尝试了安装步骤,它没有用,还有其他建议吗?

You can use GenyMotion for that. It provides Android VM that are really better than the one of SDK (chosse images of Android machines that are provided with google apps for retrieving apps from Play Store).

Assuming the normal android sdk is already installed, using the Android SDK manager :

  • Install the Intel x86 Atom System Image of the latest api level.

  • Install Intel x86 Emulator Accelerator HAXM which can be found in the folder called "tools" inside the list provided by the Android SDK Manager (for those of you on Linux, you'll have to hunt around and install kvm instead) .

  • Create an AVD using the AVD Manager

  • Make sure you select the x86 version when creating the AVD, the select box defaults to ARM.

  • And tick the checkbox Snapshot , to make sure your image keeps anything you install on it between restarts.

  • Fill out the rest of the parameters, create your AVD, and start it (the first time it runs will take the longest, the second time will be faster). That being said, it's still a good idea not to shutdown the emulator between tests because of the reboot time.

  • AVDs based on parameters alone and not actual device names will also be faster than the ones that have specific model names, but bear in mind that those with parameters will include less stuff. So it sounds like you'll want to make sure you select one with a specific phone model name.

Genymotion should work just fine as well. Just note that for the non-AOSP phones, you may have to install some of the system apks separately (because of licensing reasons, but those system apks should be very easy to find if you just google around for them)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM