简体   繁体   中英

I can't see Android Studio Emulator

I installed Android Studio and followed all of instructions and I've installed its Emulator also, but When I tried to test a simple "Hello World" code I didn't see the Emulator's option after "Initializing ADB" and it was a blank page !

Check the screenshot here >> Screenshot

So what can I do to make it work perfectly?!

An Android emulator is an Android Virtual Device (AVD) that represents a specific Android device. You can use an Android emulator as a target platform to run and test your Android applications on your PC.

follow below links:

  1. https://developer.android.com/studio/run/managing-avds.html
  2. https://www.embarcadero.com/starthere/xe5/mobdevsetup/android/en/creating_an_android_emulator.html
  3. http://abhiandroid.com/androidstudio/create-avd-virtual-device-emulator-android-studio

You have to enable virtualization technology in your bios first for emulator to work Then navigate to your hidden files look for your android folder search for haxm program and install this will enable you to have an emulator

lastly in your android studio select an android virtual device of your choice.

You see a blank page is because that page is used for emulating your app to a real devices. To do this, connect you real devices (with ADB Debugging enabled) to your computer, and check it again.

Example: My devices

If you want a virtual android device emulator, click the "Create New Virtual Device".

I also face to the same problem or error.It was about render problem. The solution is that:

Go to ==> build.gradle(Module: app) ==> dependencies ==> change from

implementation 'com.android.support:appcompat-v7:28.0.0-beta01' to

implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'

maybe your code does not beta01 but you must know that if your code different from alpha1 changed it

Wipe the data of your Android virtual Device and then start the emulator. Works for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM