1

I'm new in android studio. There is a problem: I cannot execute my app in emulator. When I create a new project, I choose Basic Activity. As you know, there is text 'hello world' and I also can exec that without any code changed. But when emulator exec, didn't show anything!

  1. No USB devices or running emulators detected: I'm googled about that. But another people said that problem could ignore.

2.May I change build types variable in Open Module settings?

Here is emulator executing. Nothing happened! enter image description here

Please help me! Thank you!

kw Hyun
  • 67
  • 7

4 Answers4

0

Are you create any virtual device yet?

If you do it, then you can try empty activity.

0

First of all, use Invalidate cache and restartoption of Android Studio.

If does not work, update System Image to latest version and restart your IDE.(If It's updated to latest version, download an older version and test it.)

Milad Yarmohammadi
  • 1,253
  • 2
  • 22
  • 37
0

If you want to run your app on the emulator then you need to first set it up. Here are the steps to setup emulator :

  1. Go to AVD Manager. enter image description here

  2. Create a New Virtual Device enter image description here

  3. Choose Device Specifications enter image description here

  4. Choose the System Image which you want to install in that emulator. You need to download the system images if you had not downloaded them yet. enter image description here

  5. Choose Device Hardware Specifications enter image description here

  6. And Than Click on Finish. Android Studio automatically generates Emulater for you. enter image description here

  7. Open AVD Manager Again And you will see an emulater. Just run it and you will able to install your app

ankushalg
  • 523
  • 3
  • 23
0

First of all you can try to:

  • Make sure in your phone is enable the settings "Debug USB" Here the instructions or from stack overflow Here
  • install drivers/tools from SDK Manager (You can find sdk manager in top left of the screen with the icon of a cube with an arrow down) in the menu "SDK Tools"

enter image description here

If this can't solve your problem, i suggest to:

  • Install the emulator again from SDK Manager

And in extremely way:

  • install android studio again
Murdok
  • 116
  • 9