android-emulator

Android emulator SDCard is removed for some reason

允我心安 提交于 2020-01-04 02:15:09
问题 I've created in the AVD a 3.2 (With Google APIs) device. However, I lately can't seem to be able to use the SDCard, when using: Environment.getExternalStorageState(); I receive "removed". How can I remount / unremove the SDCard? (I've tried creating new devices, and restarting the device many times). I'm working on Windows 7 with Eclipse 2010, if it matters. Thanks, Gal 回答1: use this code Intent i = new Intent(android.provider.Settings.ACTION_MEMORY_CARD_SETTINGS); startActivity(i); and then

Android emulator sometimes does not connect to the internet

柔情痞子 提交于 2020-01-03 20:04:17
问题 I have ubuntu Linux 10.04, my collegue uses suse. We have Wi-Fi connection to the Internet. We use Android emulator with several virtual devices. We have problem with the Internet connection of the virtual devices. Normally it works well but sometimes (about 25%) the virtual device shows no GSM signal and no Internet even if the PC is connected. There is no clear reason of that behaviour. It will stay disconnected forever so if it happens, we will have to restart the virtual device and hope

Unfortunately app has stopped working

微笑、不失礼 提交于 2020-01-03 17:36:11
问题 I am new to android application development. I was doing this tutorial app.It's a very simple one. It adds one and subtracts one from the counter.When I run it in the emulator ,it says "Unfortunately tutorial has stopped working." There are no errors in the code. The API level is 17. Please help me out. Code for java: public class Startingpoint extends Activity { int counter=0; Button add,subtract; TextView display; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

Unfortunately app has stopped working

匆匆过客 提交于 2020-01-03 17:36:11
问题 I am new to android application development. I was doing this tutorial app.It's a very simple one. It adds one and subtracts one from the counter.When I run it in the emulator ,it says "Unfortunately tutorial has stopped working." There are no errors in the code. The API level is 17. Please help me out. Code for java: public class Startingpoint extends Activity { int counter=0; Button add,subtract; TextView display; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

Android Studio emulator will not run a simple Hello World application

浪尽此生 提交于 2020-01-03 17:22:48
问题 I am unable to run a simple hello world app in Android Studio(2.1.2). It will load the emulator, and I will just get a black screen with the android graphic on it, like the phone is being turned on. I've been dealing with these issues for a little bit, google'd a ton, screwed with a bunch of settings, then decided I should completely uninstall Android Studio using the steps in this: How to completely uninstall Android Studio? and reinstall starting from scratch. So I uninstalled, then

Android 8 Settings app crashes on emulator with clean AOSP build

你离开我真会死。 提交于 2020-01-03 16:58:44
问题 "Settings" app will crash immediately after open with clean Android 8 build (aosp_x86-eng) on emulator. logcat output is below: --------- beginning of main 1536 1550 E memtrack: Couldn't load memtrack module 1536 1550 W android.os.Debug: failed to get memory consumption info: -1 --------- beginning of system 1536 1548 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings (has extras)} from uid 10013

Android emulator 4.2.2 not showing add widget option in lock screen [closed]

若如初见. 提交于 2020-01-03 13:57:15
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . In newer android versions you can add a widget to the homescreen AND the lock-screen. To be able to test this during development it would be good to be able to add these to the emulator-lock-screen as well. This

Unable to start the virtual device Details: failed to create framebuffer image (error: 15)

非 Y 不嫁゛ 提交于 2020-01-03 13:53:49
问题 Unable to start the virtul device To start virtual devices, make sure that your video card supports OpenGL2.0 and update the drivers. Details: failed to create framebuffer image (error: 15) If possible, update your video card drivers 回答1: do you attemp to run genymotion via rdp on windows virtual machine? 3d Acceleration on Windows work only when you use physical console, sorry for my english. 回答2: This is what I did to figure the problem out. delete Genymotion / VM Virtual Device / Graphic

Application failed on Emulator to launch due to time-out

孤者浪人 提交于 2020-01-03 13:06:33
问题 From past 1 hour,I am unable to launch my application on Eclipse-Helios and the console on my Eclipse gives the following error: [2011-11-21 10:37:00 - PagingScrollerExample] Failed to install PagingScrollerExample.apk on device 'emulator-5554': timeout [2011-11-21 10:37:00 - PagingScrollerExample] Launch canceled! I had come across the same problem before,but whenever I perform Project->Clean process I could overcome this sort of problem.But today I don't know what has happened.I performed

Using Android Studio 2.0 emulator with Google Services

非 Y 不嫁゛ 提交于 2020-01-03 11:13:14
问题 According to an article in the Android Developers Blog, regarding the release of Android Studio 2.0: Android Emulator - The new emulator runs ~3x faster than Android’s previous emulator, and with ADB enhancements you can now push apps and data 10x faster to the emulator than to a physical device. Like a physical device, the official Android emulator also includes Google Play Services built-in , so you can test out more API functionality. Finally, the new emulator has rich new features to