9

I downloaded Android Studio 3.1 and created a project. I did nothing in it and ran the project. Do I need to install any image?

Initial Screen - API version

enter image description here

Below screen comes when i click on run

enter image description here

enter image description here

enter image description here

enter image description here

Pankaj
  • 9,749
  • 32
  • 139
  • 283
  • 1
    You'll need an image for the emulator or a real device connected via USB, yes. – sneep Mar 31 '18 at 06:28
  • 1
    Can you please tell how to run the app to test it without any image on real device? – Pankaj Mar 31 '18 at 06:30
  • 1
    You will need to switch on developer mode on the device and then connect it via USB. See e.g. https://www.digitaltrends.com/mobile/how-to-get-developer-options-on-android/ to find out how to enable developer mode. – sneep Mar 31 '18 at 06:32
  • 1
    refer this link https://developer.android.com/training/basics/firstapp/running-app.html @Pankaj – Ali Mar 31 '18 at 06:33
  • 1
    Is there any offline link to download? It is timing out every time – Pankaj Apr 03 '18 at 11:15

5 Answers5

1

I had Android version 2.2.2. I uninstalled it and installed version 3. After this, I was unable to download image for emulator.

I finally had to format the drive to get everything done again in first time.

Pankaj
  • 9,749
  • 32
  • 139
  • 283
1

you need to set your console to developer mode (i'm windows 10 user)

if you windows 10 user go to setting - update&security - for developers - choose developer mode at use developer features

1

You need an emulator if you do not want to run your app directly in an physical android device. However, check if your PC supports or have libraries to run an emulator

PKV
  • 424
  • 4
  • 6
0

NO, just check your PC config to run an emulator. Or you can download an emulator to run your app on Pc.There are many emulators with fewer config requirements.

  • any idea about https://stackoverflow.com/questions/49782746/timeout-error-when-connecting-localhost-api-with-android-studio-on-real-devices ? – Pankaj Apr 11 '18 at 19:28
0

You need the image to use simulator, besides, you may also need to change BIOS setting to enable virtualization if you are using Windows OS

  • any idea about https://stackoverflow.com/questions/49782746/timeout-error-when-connecting-localhost-api-with-android-studio-on-real-devices ? – Pankaj Apr 11 '18 at 19:28