avd

Cannot Create Android Virtual Device

戏子无情 提交于 2019-12-06 03:18:36
When I attempt to create a new adv, I get the following error message: Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder. I know that many people receive this error when the image is not installed on the sdk, but I am positive mine is. I am currently working on a linux os (Ubuntu 11.04) and everything works perfectly. I think I might have something in the wrong directory? In my /opt dir I have the android sdk folder with the Android 4.0 image, and also the eclipse folder I am working in. Is there a location that I need to copy the image file to? Thanks! Sanandrea

AVD could not move on the screen

混江龙づ霸主 提交于 2019-12-06 03:02:29
问题 I just created an AVD but the startup screen is blank and could not move on the screen. My setting is like below: Android 5.0.1 arm Scale: 4dp on device RAM: 512 MB VM heap: 128 MB 回答1: I think the title of your AVD windown may be moved to out of screen, can not use mouse to drag it down, you can use following steps to move it down via keyboard. Select AVD window by mouse Press Alt and Space key, then a menu will appear on AVD window select Move use your arrow key to move it down (you should

Error: AVD 2.3 is not valid: Unknown target 'android-10' in /home/user/.android/avd/2.3.ini. Try to repair it through AVD manager

六月ゝ 毕业季﹏ 提交于 2019-12-06 01:56:44
问题 I get the above error when trying to add the '2.3' named AVD to the Run Configuration. The creation of it worked flawlessly though. Tried on multiple targets, see below: Works for: L Preview 4.4 Doesn't work for: 2.3.3 4.1.2 4.3 This happens when using Android Studio 0.8.1, although I remember having the same problem on 0.6.1 also. 回答1: I was also facing the same issue. If you are using android studio, go to file->Invalidate caches/Restart, then click on "Invalidate and restart". It will work

Failed to create Context 0x3005

风格不统一 提交于 2019-12-06 01:48:19
问题 I have windows 8, Eclipse IDE for Java Developers (JUNO ) for Windows 32 bit, and the updated and installed Android SDK 4.1.2 for windows. I've unzipped the Android SDK for Windows, opened the SDK manager and installed: Android SDK tool. Android SDK platform tools Android 4.1.2 (API 16) - all the folder All the Extra folder. After that I've opened the AVD manager and created a new AVD with the Google API 16 on with Nexus 7 (I've tried all of them ). When i am trying to run an app, am getting

Stop on screen keyboard appearing for Android Emulator?

末鹿安然 提交于 2019-12-06 00:28:02
I am using the AVD manager in eclipse. Is there a setting that I can use to stop the on screen keyboard appearing when an input field has focus? I tried has hardware keyboard = true, but then the emulator doesn't seem to start at all :-S The emulated device should have a physical keyboard, therefore negating the need for a soft keyboard. I tried it out now and this configuration combination works for me: hw.keyboard=yes hw.touchScreen=no The AVD has a physical keyboard, but no touchscreen, therefore only the physical keyboard can be used for text input, and the emulator does not show the soft

PC keyboard not working in Android emulator [duplicate]

醉酒当歌 提交于 2019-12-05 23:15:44
This question already has answers here : Android emulator doesn't take keyboard input - SDK tools rev 20 (11 answers) Closed 2 years ago . I'm unable to use my PC keyboard to input characters into the app running on AVD emulator even though I had chosen 'Enable keyboard input' when creating the AVD. Can anyone help? Below is my config.ini. Note File directory can be accessed from AVD Manager: -> click the down arrow on the Actions column -> Show on Disk. For GNU/Linux users, with default Android Studio configuration, the file is found under directory /home/<<user>>/.android/avd/<<device>>.avd

UI Automator Viewer: receiving “Error taking device screenshot: null” every time from AVD device

我只是一个虾纸丫 提交于 2019-12-05 20:01:21
问题 This only happends on the AVD devices within the AVD manager. I never get this error when capturing uiautomatorviewer screenshots from Genymotion. When attempting to capture within the Android Device Monitor in AS...it gives me a little more detail: Reason: Error obtaining UI hierarchy 回答1: Try it with HAXM acceleration turned off, if you can. I had to run the test using a profile that then ran the test on a physical device to get the screen shots. Essentially, if the AVD has Use GPU or

Unable to simulate location data in Android emulator

被刻印的时光 ゝ 提交于 2019-12-05 14:24:26
I'm trying to test my app, which uses geolocation using the emulator. Several methods are described here . I'm going to Window->Open Perspective->DDMS , then entering lat. and long. one in Location Controls and then I hit "Send". But it doesn't work. Instead I see the following error: Unable to send command to the emulator. Why is this happening!? I don't think my app is the problem because I tested with the emulator's default browser and it also cannot access location info. Details: OSX 10.9.4 AVD_for_Nexus_4_by_Google targeting v4.4.2 Eclipse IDE for Android Developers 23.0.2.1259578 Update:

Simultaneous Running HAXM AVD Emulator Limit

爱⌒轻易说出口 提交于 2019-12-05 13:34:08
To elaborate on the title, I'm running many simultaneous AVD's for my automated build/test processes (think concurrent builds for a project, or multiple projects building at once). Most problems that people have with running multiple HAXM accelerated AVD's at once is memory related. THIS IS NOT MY PROBLEM (I think). I have a pretty beefy i7 machine with 32gb of ram. When installing HAXM, I allocated 28gb (sorry, I can't post more pictures without more rep). Here is my AVD configuration(s). Observe, only 1024mb of memory allocated per emulator: AVD Config: Here are my system specs: OS Name

API 14 and 15 are missing in Android Studio 2.0 AVD manager

本小妞迷上赌 提交于 2019-12-05 07:43:27
When creating an AVD in Android Studio, system images for API 14 and 15 are missing in the list (though I actually installed the corresponding SDK versions in the SDK manager). I think this issue appeared since the upgrade to Android Studio 2.0. How can I create an AVD for these API versions? NOTE: This answer assumes that the API etc. are already correctly installed. The OP (and myself) were having the specific problem even when those prerequisites were done, but still couldn’t get the API to be available in the Virtual Device Manager when creating a new device. SOLUTION : Manually create a