avd

Android Studio AVD Manager not mounting sd card

a 夏天 提交于 2019-12-12 04:54:57
问题 I am using the emulator with the Nexus 5 image and when I try to access the external public storage using the following code, the storage doesn't seem to be mounted. String state = Environment.getExternalStorageState(); boolean m = Environment.MEDIA_MOUNTED.equals(state); This returns false. I went to the .android/avd/Nexus_5_API_21_x86.avd/config.ini file and changed hw.sdCard to "yes" as well, but that didn't really help. Not exactly sure what I am doing wrong. I would assume the sdcard

How to create an avd with android studio to preview a real device?

不羁岁月 提交于 2019-12-12 04:36:56
问题 I have created an avd of Xiomi Redmi 3s (294dpi), whose specifications are: The generalized densities in Android are: Ldpi (low) ~ 120 dpi -> dp = px * 0.74 Mdpi (average) ~ 160 dpi -> dp = px * 1 Hdpi (high) ~ 240 dpi -> dp = px * 1.5 Xhdpi (extraalta) ~ 320 dpi -> dp = px * 2 Xxhdpi (extra extraalta) ~ 480 dpi -> dp = px * 3 Xxxhdpi (extra extra extraalta) ~ 640 dpi -> dp = px * 4 When I create the avd with device specifications, the assigned density is xhdpi (x2), but the actual device

Android AVD stuck on loading screen

久未见 提交于 2019-12-12 03:59:04
问题 I've been trying to learn android programming and the emulator was working (sort of) before but now when I start it up it's stuck on the android loading screen. It's obviously not a question of patience because I've been waiting for about 2 and a half hours for this to load and it's STILL stuck on the android loading screen. Anyone know how to fix this? It's really starting to get on my nerves! 回答1: I've kind of solved the problem... apparently AVD's can't handle internal storage sizes larger

Android Emulator won't start after Android Studio 2.0 upgrade

倾然丶 夕夏残阳落幕 提交于 2019-12-12 02:51:09
问题 I recently upgraded Android Studio to 2.0 (Windows) which broke the emulator. The symptom is that the emulator starts a (single thread) process that takes about 100% of its CPU. Nothing shows on the screen. Of course, this worked like a charm before the update. Few things I tried: Used an AVD created before and after the update Increased AVD memory to 1G Delete / Install Android Studio Used different CPU Architecture (Arm & x86) Used different versions of API (21 & 23) 回答1: A temporary

My android application won't run on 2 devices but works on emulator

冷暖自知 提交于 2019-12-12 02:08:57
问题 I'm writing an application that displays Google Map right after the login screen. The Build Target is set to 2.3 and my devices run: 1) Samsung Galaxy Ace (2.3.4) 2) Motorolla Xoom (3.1) I try my app on the Android emulator and it runs fine. Login and map display. When I connected both devices via USB on my computer and selected them to run the application (note: there was an orange warning sign next to the build target when selecting), the login screen appears just fine and when I click

Android: AVD manager won't detect Byond B54 and Micromax phones as Virtual Device

最后都变了- 提交于 2019-12-12 01:05:45
问题 I need to use my phone as emulator/target/virtual device when I run my application. I have enabled the USB Debugging in Settings. What more do I need to do to make Eclipse AVD Manager to detect my Byond B54 and Micromax devices? How to get in usb drivers for these devices? 回答1: You need to install the drivers for windows to detect those devices. if the drivers for those devices from respective manufactures are not available, you can download and use moborobo. It works for most devices. I have

Successfully Running an Android AVD Manager and creating new Emulator

∥☆過路亽.° 提交于 2019-12-11 22:40:34
问题 So I am a beginner to Android development and decided I would start learning based on the Android site itself how to make android apps. I thought a good place to start would be making my first emulator and running a minimal hello world program. Using the Android Guide: http://developer.android.com/tools/devices/managing-avds.html It instructs how to make an emulator but the appearance of my AVD is radically different than the one they are using and I have encountered an error with it which I

Issues with AVD Manager (v21.0.1 and 21.1rc2): xxhdpi not supported

♀尐吖头ヾ 提交于 2019-12-11 18:53:50
问题 I'm having trouble creating a custom AVD for XPeria ZL phone using the Device Definitions tab. I noticed the AVD manager is unable to parse devices.xml file if one of them uses the xxhdpi density. As a side note, the emulator is no longer able to scale display to real size. Has anyone faced these issue and was able to fix it? I really need to emulate that device for a POC we are working on. 回答1: For the first issue, about the error in parsing after adding xxhdpi devices, try updating the

Runing the emulator makes my whole computer crash

亡梦爱人 提交于 2019-12-11 18:01:00
问题 Android promted me to upgrade to 3.5 today so I have. Even since I've been having issues with the AVD and running my code on the emulator. I've posted about my previous issues here After those solutions still didn't allow me to run the app (different errors) I've decided to just uninstal and reinstall Android studio. Now, every time I try to run it my whole computer crashes. It starts with this screen popping (sorry for the terrible photo, had to be quick). It says emulator warning: crash

Flutter: no connected devices

社会主义新天地 提交于 2019-12-11 15:26:34
问题 I'm developing flutter project and I'm a newbie to flutter, My Avd manager shows only virtual device except real, whereas my another android project shows my real device and my Android WIFI ADB Here is Image is also showing a connected device, but flutter device selection showing nothing, What should I do? I'm following these steps but nothing is happening. I'm opening Emulator from AVD manager but whenever I run the project it does not show any device, Here is another image. When I choose