在Android Studio上显示的透明模拟器 [英] Transparent Emulator showing on android studio

查看:413
本文介绍了在Android Studio上显示的透明模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Android Studio 3.0.1上运行我的第一个程序.但是,当我启动仿真器时,它变得透明并且没有任何显示.

I am trying to run my first program on Android Studio 3.0.1. However when i fire up the emulator, it comes transparent and nothing shows up on it.

推荐答案

如果您使用的是NVIDIA GPU,并且同时具有集成显卡,则可能会遇到图形仿真问题.您可以验证哪个GPU执行当前仿真.如果是NVIDIA,您可以尝试选择强制使用Integrated GPU:

If you are using NVIDIA GPU and on the same time you have Integrated graphics card, it's possible to experience graphics emulation issues. You can verify which GPU executes current emulation. If it's NVIDIA you can try to select force usage of Integrated GPU:

  1. 在Android Studio中打开模拟器
  2. 确认您的设备上有透明屏幕
  3. 打开"NVIDIA控制面板"应用程序
  4. 转到"3D设置"->管理3D设置"->选项卡程序设置" 查看屏幕外观->在"1.选择一个程序进行自定义",然后选择"/qemu_system-x86_x64.exe"->在"2.选择该程序的首选图形处理器"中,设置集成图形"
  5. 重新启动AVD模拟器
  6. 完成
  1. Open Emulator in Android studio
  2. Verify you have transparent screen on device
  3. Open "NVIDIA Control Panel" Application
  4. Go to "3D Settings" -> "Manage 3D Settings" -> Tab "Program Settings" see how screen looks like -> Click button "Add" in "1. Select a program to customize" and choose "/qemu_system-x86_x64.exe" -> In "2. Select the preferred graphics processor for this program" set "Integrated graphics"
  5. Restart AVD emulator
  6. Done

这篇关于在Android Studio上显示的透明模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆