Android 如何使用新的 GPU 加速 avd?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10112618/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to use the new GPU accelerated avd?
提问by android developer
Google has announced that the Android emulator finally uses the GPU, as written here
谷歌宣布 Android 模拟器最终使用 GPU,如这里所写
However, I can't find a tutorial of how to use it. I've tried to do some things and it just keeps crashing.
但是,我找不到有关如何使用它的教程。我试图做一些事情,但它一直在崩溃。
So far , I've tried to :
到目前为止,我已经尝试:
Install the app on "...\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe".
Enable/disable the flag on GPU emulation for the avd.
Restart eclipse and OS .
在“...\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe”上安装应用程序。
启用/禁用 avd 的 GPU 模拟标志。
重启 eclipse 和 OS。
Is there anyone who have succeeded working with the new feature?
有没有人成功使用新功能?
采纳答案by Rafal Roszak
The GPU emulation doesn't work very well at the moment:
http://code.google.com/p/android/issues/detail?id=28531
http://code.google.com/p/android/issues/detail?id=28529
http://code.google.com/p/android/issues/detail?id=28563
GPU 仿真目前不能很好地工作:
http: //code.google.com/p/android/issues/detail?
id= 28531 http://code.google.com/p/android/issues/ detail?id=28529
http://code.google.com/p/android/issues/detail?id=28563
I also didn't manage to run it due to the crash.
由于崩溃,我也没有设法运行它。
A simple instruction of how to turn it on can be found here: https://plus.google.com/108967384991768947849/posts/DSi3oAuNnS7
可以在此处找到有关如何打开它的简单说明:https: //plus.google.com/108967384991768947849/posts/DSi3oAuNnS7
回答by Christian Skogsberg
There are a couple of different ways to turn on GPU acceleration described here: http://developer.android.com/guide/developing/devices/emulator.html#acceleration
有几种不同的方法可以打开此处描述的 GPU 加速:http: //developer.android.com/guide/developing/devices/emulator.html#acceleration
回答by Snicolas
You should have a look at the Android VM , it's quite a great alternative to get a hardware accelerated emulator : http://androvm.org/blog/.
您应该看看 Android VM ,它是获得硬件加速模拟器的一个很好的选择:http: //androvm.org/blog/。