Android Studio and Ryzen CPU?

ⅰ亾dé卋堺 提交于 2020-01-04 04:26:27

问题


I know it could be marked as duplicate. But none of the threads helped me, so I decided to make my own.

I'm a Java back-end developer and I've decided to learn some Android stuff. I worked on Android Studio several years ago having i5-4570 processor. Then I gave up. Now I see Android Studio is really really interesting, so I have downloaded it.

Now I have Ryzen 5 1600 processor. It's really great... but...

None of the Android emulators work for me.

What have I tried?

  • Android Studio built-in emulator. (Doesn't support AMD-V)
  • Microsoft Visual Studio Emulator (Crashes Windows 10 and bootloops motherboard till a hard-reset...)
  • Genymotion (personal use) emulator (Throws a BSOD with error SYSTEM_SERVICE_EXCEPTION)

I don't have any idea what to do now, I don't want to use USB debugging solution because it's... weird and probably slow, because my phone is really old.

Any suggestions? I'm really starting to give up with android development by now.


回答1:


The processor you've mentioned is a new one. Maybe there aren't any emulators which can run with your processor. Since you haven't included Bluestacks, you may want to try it once.

Also Using a real Android phone is actually faster than using an emulator because while running an emulator the CPU is shared between Android Studio and the emulator which makes build process slower.

And if you feel weird because of the phone which is wired with a cable, you can use wireless debugging. Just search for it in Google or the play store.




回答2:


Use Bluestack 3 or N (Beta). Works with AMD V hypervisor. Make sure your BIOS had enabled the SVM virtualisation settings. Start Android Studios after the Bluestack program is runnning. The android studios should detect the emulator and display the console messages when you finally start Android Studios. Works great on my AMD Ryzen 1600 now.




回答3:


Genymotion should work.

VirtualBox (the software behind Genymotion) still has some conflict problems when Hyper-V is enabled in Windows. Try to open the Genymotion emulator image in VirtualBox and under its Settings -> System -> Acceleration, try changing the Paravirtualization Interface and see if that helps.

If that doesn't work, Disable Hyper-V under Programs and Features -> Turn Windows features on or off -> Hyper-V and try it again.




回答4:


Please try new AndroidStudio 3.1.3 with windows 10 https://www.youtube.com/watch?v=547DXRq8zAo




回答5:


currently using Ryzen 1600 with ubuntu 17.10 on b350 motherboard
works like charm!!!

Also tested on Windows; butter smooth performance with the new drivers by Google


All Ryzen CPUs are compatible now for Linux as well as windows.




回答6:


I asked Gennymotion n they said it should. u need to enable amd-v in bios?



来源:https://stackoverflow.com/questions/46743241/android-studio-and-ryzen-cpu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!