android-emulator

Android Studio Emulator not starting

你离开我真会死。 提交于 2019-12-10 16:57:20
问题 Because the emulator was really slow I installed the intel x86 emulator. I changed the settings in my emulator (ARM to intel atom). Now when I run a project it takes me to the emulator selection screen and when I select it, the project starts running, but the emulator doesn't pop up. I tried switching the cpu back to ARM, but it still doesn't work. When I close Android studio it asks me if I want to disconnect from the project so I'm sure it is running. I came across a few posts that said to

Android emulator crashes; “emulator-arm.exe stopped responding”

安稳与你 提交于 2019-12-10 16:25:14
问题 I'm attempting to write my first android app, HelloAndroid. The error in the title occurs whenever I try to run it on the emulator. This reliably happens with any AVD I create, and when I launch the AVD itself before running the app. Edit : Running the app on a real device works fine. Also, running the emulator from command line with the -verbose option shows that the emulator hangs after the following: emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back' . (Using an AVD with or

Android tests are not executed

谁说我不能喝 提交于 2019-12-10 16:12:50
问题 I have created a test project with exact the same code as shown here: http://developer.android.com/tools/testing/testing_ui.html I have uploaded the jar file in the android virtual device and now I'm ready to run the tests. But I always get this output on the console: INSTRUMENTATION_STATUS: stream= Test results for WatcherResultPrinter= Time: 0.0 OK (0 tests) INSTRUMENTATION_STATUS_CODE: -1 I have also created a simple test with the following code: public void FailedTest() throws

android: Installation Error:Unknown Failure-while running an apk file in

六眼飞鱼酱① 提交于 2019-12-10 15:58:18
问题 Yesterday I haven't got any error while using emulator but today I got this error check the image below. I have run as well as debugged many time but I am not getting the same error every time. Error is popping up after installing the apk file. Please give the correct answer such that i can fix the emulator correctly and work on that Now when I compile I got new error check the below image while shows What I have to do ? 回答1: Reboot your computer. This has always worked for me. 回答2: I was

visual studio 2015 apache cordovo not running in emulator with Blank app project template

╄→尐↘猪︶ㄣ 提交于 2019-12-10 15:55:47
问题 after initiating the Apache cordova Blank application project template using both under Javascript and typescript. When clicking the debug/run in android device emulator, an error popup as shown below: I also did the following because it wasn't able to create java virtual machine by registering this: _JAVA_OPTIONS:-Xmx512M is this a bug or is there a work around? Additional question: how to let visual studio 2015 ask which android device emulator to use (similar to eclipse) rather than using

Android: Error using webcam in emulator

随声附和 提交于 2019-12-10 15:42:41
问题 In a previous post, I got this error when starting the camera application in an emulator with a webcam connected: CameraService::connect X (pid 702) rejected (invalid cameraId 0). After updating the dev tools, I got this other error instead (then, after making a new emulator, I got the first error again): 03-15 03:44:04.272: E/EmulatedCamera_QemuClient(40): queryStart: Query failed: Cannot start the camera 03-15 03:44:04.272: E/EmulatedCamera_QemuDevice(40): startDevice: Unable to start

Cannot install ApiDemos sample project on Android emulator

妖精的绣舞 提交于 2019-12-10 15:40:46
问题 I created ApiDemos project using Eclipse - New Project - Sample command. Trying to execute it on Android emulation, I got installation error. Then I opened data/app directory in the File Explorer, DDMS, and removed two files with name starting from ApiDemos (possibly this was incorrect, but this is done already). Now, trying to execute my ApiDemos project, I have: [2011-11-15 16:23:19 - ApiDemos] Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE [2011-11-15 16:23:19 - ApiDemos] Please

There is no Calendar in the Emulator

我是研究僧i 提交于 2019-12-10 15:36:07
问题 I am building an application that accesses the Facebook account and gets the events then add them to Android Calendar. There is no calendar in the emulator. We tried to setup the Calendar.apk but it did not work. Any idea? I want to add events to the calendar through code directly. Is it possible or I have to add them to the online google calendar? Any API?!? 回答1: I believe Calendar is a part of Google Apps. And there's no GApps on emulator by default. You can try this solution. They're

Emulator awfully slow on Windows 7

人走茶凉 提交于 2019-12-10 15:14:32
问题 This is not a rant, and also not a duplicate of the forever "why is Android emulator so slow" problem. So, until a few weeks (maybe months) ago, emulating Android devices on my Win7 64-bit system was at the very least acceptable (x86 emulation was decently fast to be usable). However, trying to create any ("fast" "new" "2.0") emulator instances using the latest version of the SDK, platform tools, etc., is only a source of frustration and pain for several days now. I'm trying to understand if

Type Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first

强颜欢笑 提交于 2019-12-10 14:57:32
问题 I have had all sorts of bizarre errors, like the one in the title, happen when I am using the Android SDK and AVD Manager with Eclipse. Generally I just unplug the phone and plug it back in or close and reopen Eclipse but it is frustrating. Apparently Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first doesn't allow me to compile my app, i think it is because I was trying to run the emulator with some suggestions from emulator is so slow to no