avd

PC keyboard not working in Android emulator [duplicate]

不问归期 提交于 2019-12-07 13:53:04
问题 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: “Ok” button disabled in “Create new AVD” window

旧时模样 提交于 2019-12-07 12:10:53
问题 I downloaded and installed the latest Android Studio version which is 0.8.6 (beta) and I was stuck while trying to create a new Android Virtual Device. I tried to follow these steps: https://developer.android.com/training/wearables/apps/creating.html but looks like the CPU/ABI is unavailable when I pick one of the types mentioned in that document (Android Wear Square/Round) and the skins named AndroidWearRound or AndroidWearSquare are also unavailble. Here's a screenshot: 回答1: It's pretty

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

◇◆丶佛笑我妖孽 提交于 2019-12-07 01:53:13
问题 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? 回答1: 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

Why is the android emulator starting but then dying immediately?

馋奶兔 提交于 2019-12-06 19:54:45
问题 I've installed Android Studio on my Ubuntu 16.04 I've set up a device using the AVD device manager When I try to start the device the emulator flashes very quickly and then disappears. I tried several different versions but for all of them the emulator window flashes for a fraction of a second then disappears. How can I get the emulator to work? Where are logs that will show what problem I am having? 回答1: Try these method Edit your AVD ,On Graphics select Software-GLES instead of Auto. Open

The APK failed to install. Error: Could not parse error string

独自空忆成欢 提交于 2019-12-06 16:36:04
问题 Dragging and dropping an Android Package *.APK into an AVD (Android Virtual Device) throws a cryptic error: The APK failed to install. Error: Could not parse error string I've tried an AVD with the latest API (28) and one that matches my own phone (Nougat 7.0) The APK is a python Kivy APK built with buildozer I am new to Android development. I don't even know where to begin to debug this. Is there a better log? If I upload the APK to the AVD via the file manager and install it fails as well.

Checking NFC feature on Android Device

隐身守侯 提交于 2019-12-06 09:55:18
This is in response to question Step #1: Put this in your manifest: <uses-feature android:name="android.hardware.nfc" android:required="false" /> Step #2: Call hasSystemFeature(PackageManager.FEATURE_NFC) on PackageManager to see if NFC is available on the current device i set the API level to 8,Step 1 is ok, but when I write hasSystemFeature(PackageManager.FEATURE_NFC) it says Feature_NFC doesnot resolve to a field, Feature_WIFI FEATURE_BLUETOOTH FEATURE_CAMERA are the options there. I have visited Android developer Site ,but they didn't mention the API level. Another question is Can I test

How to create an Android AVD for Pixel device, from command line?

血红的双手。 提交于 2019-12-06 09:43:50
I'd like to use only the command-line tools to create a new virtual Android device. I want to create a virtual Pixel. I'm able to create a new AVD but unfortunately I can't figure out how to correctly set the skin and the correct device screen resolution. This is what I've tried thus far: C:\Users\*******\AppData\Local\Android\Sdk\tools>bin\avdmanager create avd -n MyPixel2 -k "system-images;android-25;google_apis;x86" --device 17 When I run that AVD via the emulator , I see a low-res device without any skin shown. I am using Android SDK 25. And, unfortunately, it looks like https://developer

android x86 emulator not respecting vm.heapSize

霸气de小男生 提交于 2019-12-06 08:54:04
The Android x86 ( API-10 ) emulator does not seem to respect the VM size specified through the AVD manager. See below for config.ini created from AVD manager hw.lcd.density=240 sdcard.size=64M skin.name=WVGA800 skin.path=add-ons/addon-intel_atom_x86_system_image-intel_corporation-10/skins/WVGA800 hw.cpu.arch=x86 abi.type=x86 hw.keyboard=yes vm.heapSize=96 hw.ramSize=256 image.sysdir.1=add-ons/addon-intel_atom_x86_system_image-intel_corporation-10/images/x86/ When I start up the app I print out what the maxmemory and a few details are using this: Runtime rt = Runtime.getRuntime(); long

Error generating final archive: Unable to get debug signature key

て烟熏妆下的殇ゞ 提交于 2019-12-06 05:11:12
问题 I cannot build and run my android project using Eclipse on mac 10.7. The error I receive is Error generating final archive: Unable to get debug signature key Changed the permissions in the ~/.android directory with no success. Tried generating another project Followed the guide of setting up an SDK and was even successful in a windows environment for my windows terminal at my workplace. Installed the packages using AVD and have set the location of my SDK location. Added my SDK tools to my

I am getting a no space left on device error

别说谁变了你拦得住时间么 提交于 2019-12-06 03:25:19
问题 I tried installing a tablet as a virtual device and after installing it , It does not even show and my gradle stopped syncing citing no space on device... Also I could not get the gradle vm settings to increase the memory using the option -Xmx512m I could not delete the virtual device as it does not show any as intsalled , i cannot add as it shows no image available and the standalone sdk manager also does not open saying lack of memory... I have a lot of disk and RAM free , and am at a loss.