Android AVD not starting

When I try to run AVD from the android tool, all I see is just a big black screen that says “ANDROID”. Nothing happened. What could be the problem?

+6
android android-emulator
source share
4 answers

If you want to know if the AVD emulator is visible or just the time of its sweetness, look at the console and LogCat views in Eclipse. When your application is in the emulator, you should see the lines in LogCat that say

04-04 16:49:51.475: INFO/ActivityManager(58): Displayed activity Your_packagename/.Your_App Name: 1191 ms (total 30764 ms) 04-04 16:49:51.475: INFO/ActivityManager(58): Displayed activity com.android.launcher/com.android.launcher2.Launcher: 30766 ms (total 30766 ms) 

And the console will usually say

 [2011-04-04 16:48:58 - YourApp] ------------------------------ [2011-04-04 16:48:58 - YourApp] Android Launch! [2011-04-04 16:48:58 - YourApp] adb is running normally. [2011-04-04 16:48:58 - YourApp] Performing your application here activity launch [2011-04-04 16:48:58 - YourApp] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_2.2_L8' [2011-04-04 16:48:58 - YourApp] Launching a new emulator with Virtual Device 'AVD_2.2_L8' [2011-04-04 16:48:59 - YourApp] New emulator found: emulator-5554 [2011-04-04 16:48:59 - YourApp] Waiting for HOME ('android.process.acore') to be launched... [2011-04-04 16:49:20 - YourApp] HOME is up on device 'emulator-5554' [2011-04-04 16:49:20 - YourApp] Uploading YourApp.apk onto device 'emulator-5554' [2011-04-04 16:49:20 - YourApp] Installing YourApp.apk... [2011-04-04 16:49:48 - YourApp] Success! [2011-04-04 16:49:48 - YourApp] Starting activity your_application on device emulator-5554 [2011-04-04 16:49:50 - YourApp] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=your_package/.your_app } 

If you do not get to the end of these statements in your consoles in a minute or so, then your emulator is probably blocked.

+2
source share

Wow, it turns out that it just loads forever. The question is closed: -)

+6
source share

If you do not have Intel HAXM installed, but try to use it, then Android Studio just waits until the emulator starts forever and you do not see an error message. Run the emulator from the command line to view error messages:

 C:\Users\.....\android-sdk\tools\emulator.exe -avd Nexus_4_API_21 -netspeed full -netdelay none 
+1
source share

In my case, the reason was low system memory. When I closed some high-memory applications, AVD started successfully.

0
source share

All Articles