1. Are you ready for the Galaxy S20? Here is everything we know so far!

Studio suddenly "Cannot find AVD system path"

Discussion in 'Android Development' started by MisterVargas, Sep 23, 2019.

  1. MisterVargas

    MisterVargas Lurker
    Thread Starter

    Hi all.

    New to Android development, and I did a forum search on this BTW.

    After some Android Studio updates, it suddenly complains

    Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

    I've never set an environment variable for this, and was able to run projects just fine. I'm reluctant to set one and have the version be stuck at a hard-coded point.

    I should also point out that I'm trying to run on a real phone, not the emulator.

    Thanks for any insight.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. MisterVargas

    MisterVargas Lurker
    Thread Starter

    Well it turns out that it was suddenly trying to run in an emulator when I'd set the project to launch on the phone by default.

    Still curious about the issue though.
     
  3. GameTheory

    GameTheory Android Expert

    You need to set the path to the SDK root directory which contains all the sdk directories such as build-tools and platform-tools. If you keep android studio up to date the SDK will also stay up to date and you'll always be on the latest.
     
    bcrichster likes this.
  4. MisterVargas

    MisterVargas Lurker
    Thread Starter

Loading...
Similar Threads - Studio suddenly Cannot
  1. White_Rabbit
    Replies:
    1
    Views:
    255
  2. workbench
    Replies:
    2
    Views:
    427
  3. thkl
    Replies:
    2
    Views:
    362
  4. brentc
    Replies:
    1
    Views:
    360
  5. brentc
    Replies:
    3
    Views:
    417
  6. hex1364
    Replies:
    0
    Views:
    367
  7. parthag
    Replies:
    0
    Views:
    334
  8. grellocj
    Replies:
    3
    Views:
    573
  9. Castino
    Replies:
    1
    Views:
    451
  10. PascalAuger
    Replies:
    16
    Views:
    1,370

Share This Page

Loading...