android-emulator

Android Emulator and OpenGL ES3: EGL_BAD_CONFIG

烂漫一生 提交于 2021-01-02 08:02:37
问题 I am running an Android Virtual Device on my Ubuntu host. It is using the CPU/ABI Intel Atom (x86) and I am using the host GPU. The emulator is using a Kernel-based Virtual Machine. This works splendidly as long as I use an OpenGL ES2 context. If my app attempts to create an OpenGL ES3 context however, using... const EGLint contextAttribs[] = { EGL_CONTEXT_CLIENT_VERSION, 3, EGL_NONE }; context = eglCreateContext(display, config, NULL, contextAttribs); ...then I get an EGL_BAD_CONFIG error: I

Android Emulator and OpenGL ES3: EGL_BAD_CONFIG

我的梦境 提交于 2021-01-02 07:59:40
问题 I am running an Android Virtual Device on my Ubuntu host. It is using the CPU/ABI Intel Atom (x86) and I am using the host GPU. The emulator is using a Kernel-based Virtual Machine. This works splendidly as long as I use an OpenGL ES2 context. If my app attempts to create an OpenGL ES3 context however, using... const EGLint contextAttribs[] = { EGL_CONTEXT_CLIENT_VERSION, 3, EGL_NONE }; context = eglCreateContext(display, config, NULL, contextAttribs); ...then I get an EGL_BAD_CONFIG error: I

Android Emulator and OpenGL ES3: EGL_BAD_CONFIG

不问归期 提交于 2021-01-02 07:58:21
问题 I am running an Android Virtual Device on my Ubuntu host. It is using the CPU/ABI Intel Atom (x86) and I am using the host GPU. The emulator is using a Kernel-based Virtual Machine. This works splendidly as long as I use an OpenGL ES2 context. If my app attempts to create an OpenGL ES3 context however, using... const EGLint contextAttribs[] = { EGL_CONTEXT_CLIENT_VERSION, 3, EGL_NONE }; context = eglCreateContext(display, config, NULL, contextAttribs); ...then I get an EGL_BAD_CONFIG error: I

Can I “force” the Android Simulator to always use the same port?

◇◆丶佛笑我妖孽 提交于 2021-01-01 08:50:23
问题 I am trying to do NativeScript development on an Azure virtual box. The installation of the NativeScript development environment has been completed successfully, as I do not have any issues when I am running the >tns doctor command: Once I try to run my application: >tns run android --bundle I see that it is successfully installed on the device identified as 'emulator-5554' but then this error pops up: Unable to apply changes on device: emulator-5554. Error is: connect ECONNREFUSED 127.0.0.1

Android Development which folders to exclude for windows defender?

て烟熏妆下的殇ゞ 提交于 2020-12-29 09:06:41
问题 I excluded the follwing folders in windows defender, but the "Antimalware Service executable" is still using a lot of cpu. C:\Program Files\Android\Android Studio C:\Users\ME\.android C:\Users\ME\MyAndroidProjects C:\Users\ME\AppData\local\Android Which folder/file did I forget? 回答1: This is now described in official documentation: Gradle cache %USERPROFILE%\.gradle Android Studio projects %USERPROFILE%\AndroidStudioProjects Android SDK %USERPROFILE%\AppData\Local\Android\SDK Android Studio

Android Development which folders to exclude for windows defender?

≯℡__Kan透↙ 提交于 2020-12-29 09:06:30
问题 I excluded the follwing folders in windows defender, but the "Antimalware Service executable" is still using a lot of cpu. C:\Program Files\Android\Android Studio C:\Users\ME\.android C:\Users\ME\MyAndroidProjects C:\Users\ME\AppData\local\Android Which folder/file did I forget? 回答1: This is now described in official documentation: Gradle cache %USERPROFILE%\.gradle Android Studio projects %USERPROFILE%\AndroidStudioProjects Android SDK %USERPROFILE%\AppData\Local\Android\SDK Android Studio

Android Development which folders to exclude for windows defender?

不羁岁月 提交于 2020-12-29 09:04:49
问题 I excluded the follwing folders in windows defender, but the "Antimalware Service executable" is still using a lot of cpu. C:\Program Files\Android\Android Studio C:\Users\ME\.android C:\Users\ME\MyAndroidProjects C:\Users\ME\AppData\local\Android Which folder/file did I forget? 回答1: This is now described in official documentation: Gradle cache %USERPROFILE%\.gradle Android Studio projects %USERPROFILE%\AndroidStudioProjects Android SDK %USERPROFILE%\AppData\Local\Android\SDK Android Studio

Android emulator settings no camera option (for virtual scene)

感情迁移 提交于 2020-12-26 12:12:20
问题 I want my android emulator to be in a virtual scene when I open the camera but it doesn't work. It just shows a pixelated face instead. Also, the camera option doesn't seem to exist in emulator settings. I checked all the required versions for both android studio and android emulator but still, I don't have the setting and the virtual scene. 回答1: When you create a new Android Virtual Device (AVD) and in my case I used one with Play Store support. In the Verify Configuration screen, click on

Android Emulator UI breaks on orientation changed

為{幸葍}努か 提交于 2020-12-25 09:37:41
问题 Currently I have a strange issue on Android Studio 4.1 with my emulators. When I'm trying to change the orientation to landscape the ui of the emulator is completely breaking... This is how it looks like: Has anyone an idea why this is happening? I changed the emulator performance in the AVD settings to "Software" after that it does not happen but it is very slow. 回答1: As already pointed out, setting emulator graphics options to "Software" helps as a temporary fix. I would like to add that if

Emulator: failed to initialize WHPX: Function not implemented

偶尔善良 提交于 2020-12-15 06:27:31
问题 While trying to run the emulator on the android studio I am getting the following error Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release. Emulator: failed to initialize WHPX: Function not implemented Emulator: Warning: requested RAM 1536M too high for your system. Reducing to maximum supported size 512M Emulator: qemu-system-x86_64.exe: Could not load library WinHvPlatform.dll.