google-developer-training / first-android-app

Repository for Build Your First Android App codelabs (Java and Kotlin)
7 stars 6 forks source link

First Android App codelab: #1

Open gmartha892 opened 4 years ago

gmartha892 commented 4 years ago

After I click run app it just displays the emulator with a block screen? It does not look like the screenshot on google "Build your first app" website.

In which step of the codelab can this issue be found? Step number 3

Versions

  1. What version of Android Studio are you using? version "3.10.2"
  2. What API level are you targeting? 29

Additional information Add any other context about the problem here.

codelab: build-your-first-android-app-java

GeneAndGoogle commented 4 years ago

"Block screen"? Can you post a screenshot of what you see?

gmartha892 commented 4 years ago

"Block screen"? Can you post a screenshot of what you see?

image

yilmazdurmaz commented 3 years ago

it is been a long time you posted this. if you are still interested in a possible solution:

first of all, this happens when your pc/laptop is not enough to emulate the required emulator specs and android version, thus black screen.

try checking you have installed HAXM driver correctly.

then you need to first try different android image versions : lollipop or kitkat. then try images without google play extras. even try using "arm" versions.

try changing hardware/software level graphics emulation setting of virtual device.

if you still got black screen, then it is best to have a physical device and develop on it