avd

App crash in eclipse

て烟熏妆下的殇ゞ 提交于 2019-12-20 04:22:03
问题 I am new in android app development & I have installed: Android SDK tools Rev 20.0.3 Android SDK tools Rev 20.0.3 Android SDK Platform-tools Rev 3 Android 2.3.3(API 10) sdk platform rev 2 samples for sdk api 10 rev 1 ADT Plugin 20.0.3 When I create a new project in Eclipse, It automatically generate a HelloWorld app. However, when I try to run it I get the following error. A pop-up window comes out with "Your project includes errors please fix them before running your application etc" I have

android studio build AVD unknown error

血红的双手。 提交于 2019-12-20 03:40:48
问题 and my PC cpu(E3-1231v3),vt is already.And,I am a tiro.I can't solve this problem.Can anyone give me some advice? thank you. 回答1: I've just solved the problem by deleting *.ini files from a directory home//.android/avd It's for Ubuntu. In Windows it's also in the user's folder (.android/avd). 回答2: install "vc_redist.x64.exe" https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 I had

Android Studio emulator could not find wglgetextensionsstringarb

人盡茶涼 提交于 2019-12-20 03:27:10
问题 When I try to start the emulator, suddenly I started getting this error everything worked couple of days ago. if I disable GPU acceleration then it works but very slowly. I tried re-enabling virtualization in the bios and it worked once and now I get the same error again.. I have the latest android studio 2.2.1 I have a new graphics card GeForce. this is the error message Hax is enabled init: Could not find wglGetExtensionsStringARB! getGLES2ExtensionString: Could not find GLES 2.x config!

AVD Crash on second monitor

假如想象 提交于 2019-12-19 01:36:31
问题 I just installed Android Studio and was trying to get a preview of my application but whenever i start the AVD Emulator on whatever devices or API it crashes, but it only do crash when I swipe the window of the AVD to my second monitor. my computer configuration : i7-6700k, 16Gb RAM and a GTX 1060 the AVD configuration : Anyone had the same problem in the past or have a solution ? feel free to ask me for more info in case I didn't explained enough 回答1: I had the same problem, and I found a

Android Studio emulator missing hardware buttons [duplicate]

六月ゝ 毕业季﹏ 提交于 2019-12-18 21:22:28
问题 This question already has answers here : AVD hardware buttons not enabled (7 answers) Closed 2 years ago . I just installed Android Studio 1.0.2 and created a virtual device. When I run an app on the emulator, everything works fine except for the missing hardware buttons (home, menu, and back buttons). I tried to change the Android version of the AVD and the Skin but nothing seems to work. Does anyone knows how to fix this problem please? 回答1: Other answers are kind of deprecated now, because

Regarding GPU mode error in launching Android virtual device

混江龙づ霸主 提交于 2019-12-18 16:56:31
问题 When I am trying to launch Android virtual device in Android Studio 2.0, it is giving me following error. ERROR: Invalid GPU mode 'mesa', use one of: on off host guest A screen shot is given bellow related to this error: Any help would be greatly appreciated!Thanks..... 回答1: Go to Virtual device manager, click 'Show on Disk' in the menu of the Virtual device. Open the config.ini file and change the respective line to: hw.gpu.mode=guest Then save the config.ini and then run Virtual device

what caused IOException and Broken pipe

瘦欲@ 提交于 2019-12-18 13:52:48
问题 My AVD is of API 15, I don't know why but the following message keeps coming up whenever I run an application on emulator. It doesn't seem to have caused any trouble except for the error message in console. [2012-06-17 00:03:26 - ddmlib] Broken pipe java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcher.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122) at sun.nio.ch.IOUtil.write(IOUtil.java

How can i simulate accelerometer in android emulator? [closed]

六月ゝ 毕业季﹏ 提交于 2019-12-18 12:38:58
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I don't have an Android phone right now. But in my application I need to use the accelerometer values. How can I do this in a simulated environment? 回答1: The Android emulator doesn't support it itself but OpenIntents' SensorSimulator fills the void. Download and unpack the zip file, then start the standalone jar

Cannot launch AVD in emulator. Output: sh: 1: glxinfo:

你说的曾经没有我的故事 提交于 2019-12-18 12:19:26
问题 Cannot launch AVD in emulator. Output: sh: 1: glxinfo: not found Could not launch '.../sdk/tools/qemu/linux-x86/qem u-system-i386': No such file or directory 回答1: You need to install the tool. On Ubuntu you can do: sudo apt-get update && sudo apt-get install mesa-utils 来源: https://stackoverflow.com/questions/36258908/cannot-launch-avd-in-emulator-output-sh-1-glxinfo

Android Emulator: select AVD (Android Virtual Device) to run by default

随声附和 提交于 2019-12-18 10:21:49
问题 I have added a second Virtual Device to test a different screen resolution (QVGA), but now I wanna switch back to the first AVD (HVGA) again. How can I set the virtual device in Eclipse to be used by default or even specifically for my project? In the properties I can only set the API level. I also couldn't find any information in the command line tool documentation to set this manually. 回答1: In Eclipse, click on Run in the toolbar then Run Configurations. Select your application and click on