• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Studio suddenly "Cannot find AVD system path"

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.
 
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.
 
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.

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.
 
Back
Top Bottom