I've been trying to use the Android Emulator after downloading Android Studio. I've used an old Samsung S4 before, but need something compatible to Marshmallow for certain features. The problems I am seeing are: • -Emulator doesn't run • -Android screen shows as if it's preparing to boot but doesn't • -When android screen disappears after hour of waiting, screen shows dialog that says the system is unresponsive, and to wait or kill the process • -When I try to run app on AVD while that screen is showing, error from Android Studio pops up saying that the AVD didn't install APK's correctly and to uninstall them or cancel. The solutions I have tried: • -Lowering AVD RAM to 512 & 236 MB • -Turning emulator cameras off • -Turning off Audio • -Graphics preference set to software • -Deleting and redownloading everything • -Checking to make sure API matches SDK • -Trying different API (25) • -Downloading BlueStacks (Didn't realize it uses Kitkat) Most of the solutions for a slow/not working emulators were related to the Emulator settings of which I changed and tried. I've been stuck on this for three days and am desperate for a solution so I can test my app which requires Android API of 23 +. A little side note just in case I'm out-of-luck. I'm using a mid-2010 MAC running on OSX Sierra, Core 2 duo processor, 16GB RAM, 1TB hard drive. **Update I've ran the emulator through the command line and here is the output that I am receiving. The emaulator is still loading on the Android Screen but no more output has been logged for the last 30 minutes after 'Adb connected, start proxing data'. Android Studio Emulator – Best For Development Purpose Android Studio is a development IDE that Google approves and recommends to people who want to develop their apps. The software offers a lot of features that help the developers make their apps and games. Setup Android Emulator on Mac OS X The purpose of this section is to guide you to create in your development environment an Android emulator. Android emulators are managed through a UI called AVD Manager AVD Manager has a nice interface when started from Android Studio. Start Android Studio app, then create a blank project. Go to the Tools menu ->:Android -> AVD Manager: If no emulator has been created you should start with this screen: Click the Create Virtual Device button. In the Select Hardware window, select Nexus 5 as shown in the following snapshot: Click the Next button. In the System Image, select the system image Nougat, API Level 25, ABI x86: Click on the download link to download the selected System Image. This download process is done through SDK Manager. Once the download is complete, click on the Next button. In the Verify Configuration window, check any parameter: Then click on the Finish button. AVD Manager shows you the newly created device: Click on the launch button to launch the newly created AVD in the emulator. Notice in the Run Window of Android Studio the command line used to start the device: /Users/HDO/Library/Android/sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_5_API_25 which can be shortened to: $ANDROID_HOME/tools/emulator -netdelay none -netspeed full -avd Nexus_5_API_25 How to start Android Emulator from Terminal? Stop the emulator started by Android Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |