avd nexus_5x_api_22的仿真器进程被杀死 -- android-emulator 领域 和 emulators 领域 android 相关 的问题

The emulator process for AVD Nexus_5X_API_22 was killed


简体版||繁體版
1
vote

问题

中文

我安装了Android Studio与offical网站的Android SDK,创建了一个新的示例项目,没有改变或删除甚至一行,但随时随地无法正常工作。

  D:AndSDK oolsemulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_22 Hax is enabled init: Could not find wglGetExtensionsStringARB! getGLES2ExtensionString: Could not find GLES 2.x config! Hax ram_size 0x60000000 Failed to obtain GLES 2.x extensions string! HAX is working and emulator runs in fast virt mode. Could not initialize emulated framebuffer audio: Failed to create voice `goldfish_audio_in' qemu-system-i386.exe: warning: opening audio input failed emulator: Listening for console connections on port: 5554 emulator: Serial number of this emulator (for ADB): emulator-5554 emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.  02/11 16:19:14: Launching app Error while waiting for device: The emulator process for AVD Nexus_5X_API_22 was killed.   

怎么了?如何解决它?

english

I installed Android Studio with Android SDK from the offical web-site, created a new sample project, didn't change or delete even a line, but the project doesn't work anyway.

D:\AndSDK\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_22 Hax is enabled init: Could not find wglGetExtensionsStringARB! getGLES2ExtensionString: Could not find GLES 2.x config! Hax ram_size 0x60000000 Failed to obtain GLES 2.x extensions string! HAX is working and emulator runs in fast virt mode. Could not initialize emulated framebuffer audio: Failed to create voice `goldfish_audio_in' qemu-system-i386.exe: warning: opening audio input failed emulator: Listening for console connections on port: 5554 emulator: Serial number of this emulator (for ADB): emulator-5554 emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.  02/11 16:19:14: Launching app Error while waiting for device: The emulator process for AVD Nexus_5X_API_22 was killed. 

What can be wrong and how to fix it?

     

回答列表

3
 
vote
  1. 转到:工具> Android> AVD Manager
  2. 按下AVD
  3. 旁边的"编辑" (铅笔)图标
  4. 将"图形" 更改为"软件" 。
 
  1. Go to: Tools > Android > AVD Manager
  2. Press the "edit" (pencil) icon next to your AVD
  3. Change "Graphics" to "Software".
 
 
   
   
1
 
vote

仿真器:错误:无法初始化Opengles仿真,使用'-gpu off'禁用它。

仿真器无法在PC上使用OpenGL ES仿真。随着消息说,您可以使用命令行禁用它,或者通过关闭"模拟器的设置" 对话框中的"使用主机GPU" 选项,但是仿真器将非常慢。在真正的手机上运行您的应用程序会更好。

 

emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

The emulator wasn't able to use OpenGL ES emulation on your PC. As the message says, you can disable it using the command-line, or by turning off the "Use Host GPU" option in the emulator's settings dialog, but then the emulator will be very slow. It would be better to run your app on a real phone.

 
 
1
 
vote

发生在我身上,在其他地方,我读到的是sdk的库的问题。

以下行为我工作了

  $ android-sdk/tools/emulator -avd Nexus_5_API_27 -use-system-libs   

现在您可以从Android Studio查看设备并连接到它。可能存在于AVD配置中的选项以解决此问题。

 

The same happened to me, in other places I read that is a problem with the library shipped with the SDK.

The following line worked for me

$ android-sdk/tools/emulator -avd Nexus_5_API_27 -use-system-libs 

Now you can see the device from Android Studio and connect to it. Probably exists an option inside the AVD configuration to fix this.

 
 
 
 
0
 
vote

这是对我有效的: 去工具> AVD Manager≫点击仿真器&gt旁边的向下箭头;抹掉数据 它将确认是否要擦除数据,请在这种情况下说是。

 

This is what worked for me: Go to Tools> AVD Manager > Click on downward arrow beside your emulator > Wipe data It will confirm if you want to wipe data, say yes in that case.

 
 
-2
 
vote

仿真器 - 流程 - AVD-Nexus-5x-API-22-in-ware-incled ???? 简单的改变"nexus5xapi22" 到"nexus" 问题解决了。

 

The-emulator-process-for-avd-nexus-5x-api-22-was-killed???? simple change "Nexus5XApi22" to "Nexus" problem solved.

 
 
   
   
-2
 
vote

由于日志也提到

  audio: Failed to create voice 'goldfish_audio_in'   

检查您的Windows 10's 隐私设置>麦克风。如果禁用,请启用它。

 

Since the log also mentioned

audio: Failed to create voice 'goldfish_audio_in' 

Check your Windows 10's Privacy settings > Microphone. If it is disabled, enable it.

 
 
   
   

相关问题

1  无法设置Android仿真器日期 - 卡住于1/1/1970  ( Cant set android emulator date stuck on 1 1 1970 ) 
我在手动设置我的android仿真器上的日期时遇到麻烦。 我正在使用在Windows 10虚拟机上运行的ARM AVD(没有可用的英特尔HAXM),并且仿真器正在使用"-GPU SWIFTSHADER" 选项。 我尝试从android ui(设置菜单)和shell(带有root权限的adb date -s命令)设置日...

8  如何模拟Android中的相机输入? (激活whatsapp web)  ( How to emulate camera input in android to activate whatsapp web ) 
我有一个没有相机的Android设备,我在该设备上运行whatsapp。 我想从此设备激活whatsapp web。不幸的是,这样做的唯一方法是扫描一个QR代码,我不能这样做,因为我没有相机。 所以,如果我只能模拟相机输入,这意味着使用QR码的图像或视频文件,并且通过操作系统拍摄的图像,然后我会解决问题。 这个在wi...

6  如何在PC上玩Android游戏?  ( How to play android games on pc ) 
我在我的htc欲望S上有沥青6在电话上看起来很棒,现在我想在PC上玩游戏。有可能吗?我的意思是有什么应用程序,可以让我在我的手机上使用WiFi在我的电脑上玩这个游戏吗? 欲望没有任何电视,但如果这是一个重要的话,它可以支持DLNA连接。 操作系统:Windows XP 移动OS:Android 2.3.3 ...

0  Android仿真器中的GNUIts  ( Gnu utils in android emulator ) 
我们可以在Android仿真器上安装GNU Utils吗? 取决于仿真器的平台(x86,x86_64,arm64,armabi等),可以安装相应的gnu utils build?我对仿真器的Vim很感兴趣。 ...

2  如何绕过应用程序的知识能力在仿真器上运行而不是真实的设备。  ( How to bypass an apps ability to know is being run on an emulator rather than a ) 
我想安装一个名为entrust(从播放商店)的应用程序,并能够使用它。我上次尝试是使用称为"Genymotion" 的仿真器,但该应用程序可以检测到应用程序正在仿真器上运行,因为我收到此错误: "错误:无担保设备不支持手动激活。" 如果我在真实设备上运行该应用程序,我就不会得到。是否有关于如何绕过此检查的想法...

2  Android上的终端仿真器是否可以执行Linux或Mac上的终端的所有内容?  ( Can a terminal emulator on android do everything that a terminal on linux or mac ) 
我将夫妇终端仿真器下载到我的Android手机上,并希望了解它们的限制是什么。有什么终端可以做模拟器根本不能呢? ...

5  使能仿真器右侧的键盘  ( Enable the keyboard on the right side of the emulator ) 
我目前正在使用最新的Android SDK。每当我运行设备时,我都可以使用右侧和D焊盘上的硬件按钮。 但是,它下面没有Qwerty键盘。有没有办法让它出现? 旧仿真器布局(带QWERTY键盘) 新仿真器布局(没有QWERTY键盘) ...

3  如何将仿真器安装到PlayStation手机上(Sony Xperia Play)?  ( How does one install an emulator onto the playstation phone sony xperia play ) 
我有一个PlayStation手机(索尼Xperia Play),并喜欢免费玩旧的视频游戏。我希望有一个仿真器(也许是MAME?)我可以安装它。有人可以做到这一点吗? 编辑:我想要在特定手机上使用PlayStation控制按钮的东西 ...

1  avd nexus_5x_api_22的仿真器进程被杀死  ( The emulator process for avd nexus 5x api 22 was killed ) 
我安装了Android Studio与offical网站的Android SDK,创建了一个新的示例项目,没有改变或删除甚至一行,但随时随地无法正常工作。 D:AndSDK oolsemulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_22 H...

-1  如何使用Retroarch使用JXD S7300游戏控制器?  ( How can i use the jxd s7300 game controller with retroarch ) 
我想使用我的JXD S7300控制器与android retroarch 游戏模拟器。但它似乎不可能。有人有信息吗? ...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有