Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 no problems. but whenever i try to run the HelloAndroid example the avd launches but doesnt show anything.

cone somebody help please?

like image 838
Arturski Avatar asked Sep 11 '10 19:09

Arturski


People also ask

How do I fix black screen on Android Emulator?

In newer versions of Android Studio, this is called "Wipe Data", and it is in the right-click menu for the device in the virtual device manager. This worked for me, thank you. In VS 2019, go to Android Device Manager, right click and, "factory reset". I had a black screen emulator and this resolved the problem for me.

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. 3) Restart Android Studio and then try to start the AVD again.

Why is my AVD Manager not working?

SDK Build Tools are not installed If it fails then you may have to install it again. You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager.


2 Answers

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.

like image 57
Morrison Chang Avatar answered Oct 14 '22 13:10

Morrison Chang


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.
like image 22
Platinum Pufferfish Avatar answered Oct 14 '22 12:10

Platinum Pufferfish