android-emulator

accessing google apis in the new intel x86 android emulator

谁说胖子不能爱 提交于 2019-12-03 04:56:03
问题 I just tried to run my company's app in the new x86 android emulator, but our app relies on the google maps API, and that is not available in the x86 system image that google provided with android sdk release 17. My intuition says the answer is no, but is it possible to get the google apis into this system image somehow? If not, is there any way to conditionally not use a system API like google maps if it isn't present on the device/emulator that you are currently using? 回答1: My intuition

Emulator: Unexpected feature list: MultiDisplay VulkanNullOptionalStrings YUV420888toNV21 YUVCache

你离开我真会死。 提交于 2019-12-03 04:54:31
问题 My android emulator showing error & not opening. If someone helped, I am very thankful. Emulator: WARNING: unexpected system image feature string, emulator might not function correctly, please try updating the emulator. Emulator: Unexpected feature list: MultiDisplay VulkanNullOptionalStrings YUV420888toNV21 YUVCache Gradle build finished in 11 s 518 ms ADB rejected shell command (getprop): closed Emulator: Process finished with exit code -1073741819 (0xC0000005) 回答1: I have Dell G5 5587 with

How do I register my Google Account in the android emulator running 2.2 api level 8? [duplicate]

风格不统一 提交于 2019-12-03 04:45:54
Possible Duplicate: Android Emulator - Trouble creating user accounts I'm trying to register a Google Account with the Android emulator running 2.2 API level 8. Forums suggest that you can do this by going to Settings -> Accounts, however for me I only have the option to add a "corporate" account, i.e. an Exchange account, not a Google Account. I wish to add this Google Account to test c2dm from the emulator. Does anyone know how to associate a Google account with the emulator in this build? Thanks, Eric Turns out I was using the image "Android 2.2" instead of "Google APIS (Google Inc)". Using

Android studio doesn't recognize the running emulator

霸气de小男生 提交于 2019-12-03 04:43:39
问题 When I run my app from AndroidStudio 0.4.3 using Run I see Choose Device which has two sections choose a running device or Launch Emulator . I don't have a running emulator at the moment so I click the ... to launch AVD manager and start an emulator. At this point I see that under choose a running device the emulator I just launched shows up but its listed as offline . In the past the offline status went away when the emulator was fully up and running. However, now I've noticed that when the

Alternatives to android default emulator [duplicate]

不打扰是莪最后的温柔 提交于 2019-12-03 04:39:13
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Slow Android emulator Is there any fast and more efficient android emulator is available? I'm sick of android default emulator. Thanks UPDATE 2: Genymotionis great too, since BlueStack App Player now forces you to install some apps to continue using free version. I tried Genymotion and quite happy with speed for App development, haven't tried gaming yet. Happy coding :) UPDATE: BlueStack App Player is the best

Connecting to Android Emulator through VNC

爷,独闯天下 提交于 2019-12-03 04:38:32
问题 How can we connect to Android emulator through VNC with the help of noVNC using javascript? i would like to render the emulator on my browser.How can that be done.thanks 回答1: You can start the emulator on the console with emulator -avd <the avd name> and add options for qemu with -qemu in your case -qemu -vnc :2 will start a VNC server listening at Port 5902 . If you get an error, that your keymap was not found you can creating a symlink from android-sdks/tools/keymaps to the keymaps folder

How to simulate total network loss in Android Emulator

淺唱寂寞╮ 提交于 2019-12-03 04:27:27
I'm trying to write an application that needs to know when there is no IP network connection available. I am using the android.net.conn.CONNECTIVITY_CHANGE broadcast event along with ConnectivityManager to react to the changes in state to achieve this, but I'm having problems testing my set up in the emulator. I have tried both flight mode and pressing F8 to disable the "Cellular Network" but even with both of these engaged the application still "sees" the underlying network. Has anybody managed to find a way to simulate a total lack of network access? I have experienced that after pressing F8

Android Emulator: qemu-system-i386.exe: goldfish_battery_read: Bad offset

ぐ巨炮叔叔 提交于 2019-12-03 04:25:58
问题 So, whenever I try to launch my app on the android emulator the IDE gets bombarded with this error: Emulator: qemu-system-i386.exe: goldfish_battery_read: Bad offset....... This error also shows when the application is running every minute or so. I'm using Android Studio 3 Beta 6 API Level 26 Emulator 26.1.4 Android SDK Tools 26.1.1 Image x86 26 (oreo) ... I've tried to re-install all of the SDK tools and update everything to the latest but had no luck. I also re-installed the IDE and re

Draw a 2D Image using OpenGL ES 2.0

帅比萌擦擦* 提交于 2019-12-03 04:17:51
问题 I've been struggling to draw a 2D image from jpg/png files using openGL ES 2.0 for Android. Everywhere I look the tutorials are for texturing 3D images so its been rough figuring out how to draw a regular 2D Sprite. I got a square to draw and rotate but once it came to texturing I must have messed up somewhere because I keep getting an error saying DrawElements isn't bound to any data but if I comment out any code to do with texturing it works fine. Any help would be greatly appreciated. Here

How to remove the device's frame on Android Studio's emulators

本小妞迷上赌 提交于 2019-12-03 04:15:40
I am making an android app on Android Studio and I have this emulator for Nexus S. When the emulator is running, it shows the frame of the device. I want the emulator to show the screen of the device only. I've tried looking in the settings but can't help it. Thanks. Tiger98 Step 1 : Click on AVD Manager Step 2 : In the pop select the EDIT AVD Step 3 : Uncheck Device Frame Sept-1: Open ADV Manager Step-2: Click Edit in the specific Device emulator Step-3: Disable device frame option Step-4: Click Ok and restart the emulator 来源: https://stackoverflow.com/questions/32766821/how-to-remove-the