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.
     


  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. EndritR
    Replies:
    0
    Views:
    92
  2. RLScott
    Replies:
    2
    Views:
    182
  3. Rascalsailor
    Replies:
    0
    Views:
    176
  4. Daronee
    Replies:
    0
    Views:
    951
  5. Salvador Huertas Amorós
    Replies:
    0
    Views:
    174
  6. FallenAngel666
    Replies:
    0
    Views:
    164
  7. FallenAngel666
    Replies:
    0
    Views:
    151
  8. Damon Getsman
    Replies:
    0
    Views:
    253
  9. AdrienBoub
    Replies:
    0
    Views:
    435
  10. АгентГосдепа
    Replies:
    0
    Views:
    645

Share This Page

Loading...