android-emulator

cocos2d-x v 2.0.4 FATAL EXCEPTION GLThread when run on Android emulator

为君一笑 提交于 2019-12-22 05:33:14
问题 I create cocos2d-x app I'm using cocos2d-2.0-x-2.0.4 I've got error when trying to run app from Eclipse on Android emulator. 12-04 08:03:13.792: E/AndroidRuntime(1081): FATAL EXCEPTION: GLThread 105 12-04 08:03:13.792: E/AndroidRuntime(1081): java.lang.IllegalArgumentException: No config chosen 12-04 08:03:13.792: E/AndroidRuntime(1081): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:874) 12-04 08:03:13.792: E/AndroidRuntime(1081): at android.opengl

Unsupported virtual sd card in android emulator

五迷三道 提交于 2019-12-22 05:24:17
问题 I don't know why the virtual SD card isn't working anymore. Someone got any leads or why could that happen? I'm using Android emulator with API 26 (Android O) 回答1: To solve this problem use sd card size >= 512 MB in emulator . Android studio 2.3.3 created 100 MB sd card by default. The commit on the AOSP source code for Android Oreo states that a 512-megabyte file is created and mounted as a virtual disk for the system to use as an SD card. 回答2: I faced the same problem too. Like others have

PhoneGap. Failed to start Geolocation service

守給你的承諾、 提交于 2019-12-22 05:23:16
问题 PhoneGap version: 2.0.0. Android API level 16 (4.0.3 version). Code sample which prompts an error: navigator.geolocation.getCurrentPosition(onSuccess, onError, {enableHighAccuracy:true}); function onSuccess(position) { console.log('latitude: '+ position.coords.latitude); console.log('longitude: '+ position.coords.longitude); } function onError(error) { console.log('Appeared error : '+ error.message); } Always getting an error in emulator Failed to start Geolocation service , error code 2 .

Android emulator loses internet connection after a period of time (inactive or active)

[亡魂溺海] 提交于 2019-12-22 05:17:18
问题 I know that many people asked this before I do, but I can't find any answer so got to repost it here. So when I start the android emulator, everything is fine. But after a while, like 5 minutes, then it'll lose the internet connection, which means I can't access to the internet via browser, or my app. The only thing I can do is to restart the emulator by close it and start it again. Any response is appreciated. 回答1: This is due to a bug in the emulator code. Basically it doesn't close UDP

Android AVD won't start

不问归期 提交于 2019-12-22 04:38:14
问题 When I try to start an AVD from the android tool, all I see is just a big black screen with "ANDROID" written on it. Nothing happens. What could be the problem? 回答1: If you want to know if the AVD emulator is hanging or just taking it's sweet time, then look at the Console and LogCat views in Eclipse. When your app is up in the emulator you should see lines in LogCat that says 04-04 16:49:51.475: INFO/ActivityManager(58): Displayed activity Your_packagename/.Your_App Name: 1191 ms (total

Nexux 10 emulator/avd not running/starting [duplicate]

家住魔仙堡 提交于 2019-12-22 04:36:15
问题 This question already has answers here : Android : How to Create Android Emulator for Nexus10? (6 answers) Closed 6 years ago . I am trying to create the Android emulator for Nexus 10 using latest ADT (21) and SDK tools. I have the below configurations for Nexus 10 AVD. Screen Size - 10 inches Resolution - 2560 X 1600 Screen Size - xlarge Screen Density - Xhdpi Screen ratio - long RAM - 512 (Not able to set 1024 emulator crash) But once AVD is created, it does not load Android; it just shows

Application Not installed in your phone

吃可爱长大的小学妹 提交于 2019-12-22 04:28:28
问题 I run the application in the emulator it works successfully and the icon of the application is show in the emulator menu but when i try to run again that app from the emulator menu it can't allow me to run from that and display the Toast "Application is Not installed in your phone". In the Image the red rounded is my application icon. 回答1: This can happen if you have your MainActivity declared twice in your AndroidManifest.xml, first as a launhcer <activity android:name=".MyActivity" android

java.lang.RuntimeException: createContext failed:

一个人想着一个人 提交于 2019-12-22 03:59:03
问题 I am using Emulator 7.1.1(Google Apis) . Full exception is E/AndroidRuntime: FATAL EXCEPTION: GLThread 309 java.lang.RuntimeException: createContext failed: 12291 at com.google.maps.api.android.lib6.gmm6.vector.bi.a(:com.google.android.gms.DynamiteModulesB:834) at com.google.maps.api.android.lib6.gmm6.vector.bj.f(:com.google.android.gms.DynamiteModulesB:20825) at com.google.maps.api.android.lib6.gmm6.vector.bj.run(:com.google.android.gms.DynamiteModulesB:881) The code is working fine on

Start ICS emulator without Menu button

梦想的初衷 提交于 2019-12-22 01:41:06
问题 I'm trying to see the overflow menu in the ActionBar on ICS and I don't have a device. I'm using the emulator and want to know, how do I start the emulator without a Menu button? I want to emulate a device with no Menu hardware button. I've looked on: http://developer.android.com/guide/developing/tools/emulator.html but I don't see how to do this. Thanks for any help. 回答1: Ok, so just the next day Reto Meier posted on G+ that the new tools (version 16) have an option in the emulator that

SDK Manager is missing older Android System images for emulator

我是研究僧i 提交于 2019-12-22 01:24:58
问题 I've just did fresh installs of the ADT bundle (20130522) and the Android Studio. (because my eclipse install got screwed up again, but that's another story.) In either version, when I launch the SDK Manager, I don't have any system images for 2.2, only an x86 image for 2.3.3, and no images for 3.0, 3.1, and 3.2. I couldn't find any official word as to why they've been removed. Is there now a better way to test on those platforms rather than by using the emulator images? 回答1: Check the