开发者

Android AVD not showing anything. only "ANDROID" in the middle of the screen

I am an Android Newbie! please help.

I have been following googles introduction tutorial and managed to install everything with开发者_如何学Python no problems. but whenever i try to run the HelloAndroid example the avd launches but doesnt show anything.

cone somebody help please?


After you create an AVD it really does take a long time to initialize. On my less than year old Core2Duo 2.8 GHz running Win7x64 and 4Gb of RAM, initializing a 2.2 version took at least 5 to 10 minutes (if not longer). Once it starts initializing you can watch the logcat in the DDMS panel of eclipse and watch it unpack and install all of the apps in the emulator.


It is quicker to export the file to your phone using USB cable, install it by selecting the .apk file with a file manager and run it from your phone. This also gives you "real" simulations of the app. It is quicker also. If your app has flaws, it is quicker to find them on your phone then wait for the AVD to load only to find your app doesn't work!

  1. Goto File -> Export, select android folder then android application.
  2. On the next page, select the application you want to export.
  3. Create a keyfile and an alias.
  4. Eject your phone, then open your file manager of choice, and click on the app.
  5. Run using android package installer, you will need to enable no market application install in your settings
  6. Open the app after the install is complete.


You can always run 'adb shell' or 'adb logcat' from another window to see what is happening...


I had the same problem but I fixed it by deleting .android folder from C:\Users\User\

Now everytime I start Eclipse or AVD, I delete that folder. After that everything works charm.

OPTIONAL : If the problem still persists, try to clone the NEXUS S AVD.


How long did you wait for it? On my (admittedly older and slower) home computer, it can take some time for the AVD to initialize the first time. I've just tried it and it takes about 90 seconds for the "ANDROID" in the center of the screen to be replaced with the home screen, then about another 30 seconds for the application to run.


I had the same problem. It was because i hadn't restarted my system after installing ADT plugin. It worked fine after restarting my system.


Occasionally i've found that it just hangs up on the loading screen, and if you restart it, it comes right. Also, from memory it can take awful long to load first time.


For Ubuntu (I use Xubuntu):

Mine Android Virtual Devices didn't started because i used NVIDIA drivers for ubuntu. After changing drivers to Nouveau it booted in 15sec.

Go to "Settings Manager" -> Software & Updated -> Additional Drivers chose: "Using X.org x server -- Nouveau display driver (open source)"

NVIDIA F# U http://www.youtube.com/watch?v=55XVnJ_0qhg


Yeah It took too much time to start.... Try Switching on Visualization in the system BIOS Settings.... For me before switching it didn't show up anything. After changing it took 3 mins to initiate

System Specs: i5 Dual Core 4Gb Nvidia 2G


Stop the emulator --> Open ADV Manager --> Edit the Virtual device --> Click Show Advanced Settings --> Set the Ram size 512mb --> Start the emulator

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜