Error running 'app': No target device found.


Error Running App - No Target Device Found
Error Running App - No Target Device Found

⛔️ Error running 'app': No target device found.

The above error you may get when trying to run your Android Application on IntelliJ Android Studio, it means that there is no device available to run your application. You would require either of the below two kinds of devices.

  1. 1. External Device: You need to connect an external physical Android device to your computer with Developer settings enabled, or,
  2. 2. Virtual Device: You need to have an AVD - Android Virtual device (an emulator) available.
Let's assume that you want to run the application on an AVD, you need to do the below steps,
  1. Click on Menu: Tools → AVD Manager
  2. Now click on + Create Virtual Device
  3. You would see options like - Pixel XL, 3a XL Nexus e.t.c, select one of the devices and click Next.
  4. On the Select a system image page you need to select an image - Note if the image is not earlier download you would need to do it - Recommend once are among R, Q, Oreo, Nougat
  5. You would now be taken to a new prompt Component installer that will download and install the image - not this would take a while depending on your internet speed. Once the installation completes click Finish.
  6. Packages to install: 
    - Google APIs Intel x86 Atom System Image (system-images;android-R;google_apis;x86)
    
    Preparing "Install Google APIs Intel x86 Atom System Image (revision: 4)".
    Downloading https://dl.google.com/android/repository/sys-img/google_apis/x86-R_r04.zip
    "Install Google APIs Intel x86 Atom System Image (revision: 4)" ready.
    Installing Google APIs Intel x86 Atom System Image in 
    C:\Users\c2c\AppData\Local\Android\Sdk\system-images\android-R\google_apis\x86
    "Install Google APIs Intel x86 Atom System Image (revision: 4)" complete.
    "Install Google APIs Intel x86 Atom System Image (revision: 4)" finished.
  7. Now select the AVD and click Next - You can provide a new to the AVD here and set standard mode - portrait or landscape e.t.c., now click Finish
  8. Now try to run your application. It should work!


















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap