android-emulator

Why is the Android Studio emulator giving me a framebuffer error on startup?

依然范特西╮ 提交于 2020-01-15 10:09:19
问题 I'm on a Windows 7 PC. When I run the Android emulator from Android Studio on the command line, I get this error: Failed on eglChooseConfig Could not initialize emulated framebuffer I can fix it by selecting software rendering, but that's really slow, and the GPU emulation was working a couple days before; it just suddenly stopped working. I've tried changing it not to use multi-core CPU since it's labelled experimental, but I get the same problem. Update: I just upgraded from AS 2.3.3 to 3.0

LocationClient does not update getLastLocation() on emulator

僤鯓⒐⒋嵵緔 提交于 2020-01-15 09:12:50
问题 I'm using the google play services api to get location updates in my app. However, for some reason, client.getLastLocation() doesn't changes its value when a client is connected. Only after requesting location updates by registering a listener will the location change. I think it may be an emulator only problem, but even when I manually change the location using ddms or telnet, the value of getLastLocation() still doesn't change. Unfortunately, my phone isn't showing up in adb, so I can't

startactivity() not working from inner class that extends ListActivity

和自甴很熟 提交于 2020-01-15 08:38:04
问题 Title basically says it all. The below code doesn't throw any errors, it just doesn't start the new activity. Code below. I have tried modifying startActivity(new Intent(mCtx, NewActivity.class)); to read startActivity(new Intent(MyListActivity.this, NewActivity.class)); I have been testing this in Eclipse with an AVD. Any thoughts on this would be appreciated - thanks! public class MyListActivity extends ListActivity { private Context mCtx; MyContentObserver mContentObserver; @Override

Android emulator can not start in Ubuntu-12.04-64bit (“X Error of failed request: BadRequest”)

送分小仙女□ 提交于 2020-01-15 03:13:13
问题 Starting emulator for AVD '4.12' X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 136 (GLX) Minor opcode of failed request: 14 (X_GLXGetVisualConfigs) Serial number of failed request: 12 Current serial number in output stream: 12 And I have already install the driver of NVI.So I want to know the reason of it.Thanks a lot! 来源: https://stackoverflow.com/questions/17805725/android-emulator-can-not-start-in-ubuntu-12-04-64bit-x

Android emulator can not start in Ubuntu-12.04-64bit (“X Error of failed request: BadRequest”)

余生颓废 提交于 2020-01-15 03:13:10
问题 Starting emulator for AVD '4.12' X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 136 (GLX) Minor opcode of failed request: 14 (X_GLXGetVisualConfigs) Serial number of failed request: 12 Current serial number in output stream: 12 And I have already install the driver of NVI.So I want to know the reason of it.Thanks a lot! 来源: https://stackoverflow.com/questions/17805725/android-emulator-can-not-start-in-ubuntu-12-04-64bit-x

Installing libhoudini (ARM emulation) on Android 4.2.2. Emulator

我的梦境 提交于 2020-01-14 14:20:49
问题 After about 3 days trying and trying I'm giving up. I've tried to install libhoudini (http://android-x86.sceners.org/en/?p=536) on android 4.2.2 emulator. I need that for a project. I know about the existence of Genymotion and AndroVM but I don't need a virtual box image I need a emulator running on intel x86 with ARM emulation. I also tried to create yaffs2 images from a running Genymotion distrubition and migrate that to android-sdk\system-images\android-17\x86. Unfortunately that doesn't

/dev/kvm is not found on Mac OS

落爺英雄遲暮 提交于 2020-01-14 08:20:11
问题 I recently updated my Macbook pro to Mac OS High Sierra. Now I'm running into an issue where I can no longer start the emulator in Android Studio. The warning /dev/kvm is not found. is shown. When I tried to start the emulator I get the following error: I tried different versions of Intel HAXM from the SDK manager and standalone, reinstalling Android Studio and completely removing all configurations, still the same issue.. 回答1: Go to: System Preferences > Security & Privacy > General There

Can't see virtual scene images in emulator camera app

亡梦爱人 提交于 2020-01-14 07:54:27
问题 I'm using the Android Emulator (version 28.0.23-5264690) to develop an app that uses QR codes. The Virtual Scene feature for the camera on the emulator has an option to add your own images to the scene: When using the emulator with a camera app, you can import an image in PNG or JPEG format to be used within a virtual scene. To choose an image for use in a virtual scene, click Add image in the Camera -> Virtual scene images tab in the Extended controls dialog. This feature can be used to

How to convert from my android project to .apk file?

限于喜欢 提交于 2020-01-14 06:55:08
问题 I am beginner in android. I am successfully created one application. In that application name is Hello. It's successfully running in My Emulator. My questions are How to convert that application to .apk files. Because how to i run this application(Hello) to my android tablet. If it is possible please send information for how to convert taht application to .apk format. Otherwise if it is not possible send Reason. Please reply your answers and comments are valuable me. Thanks. 回答1: Actually if

How create android emulator without android studio?

孤人 提交于 2020-01-14 03:55:13
问题 Android Studio 3.2. I create 2 emulators by Android Studio. Nice. But the question is: Is it possible to create android emulator WITHOUT Android Studio? Our QA need to use emulators for test our applications. But it not need Android Studio. How QA can create android emulator without Android Studio? 回答1: There are a lot of 3th party emulators out there, which are quite easy to use and fast to set up. Just have a quick look in your favorite search engine. But here is a short list of better