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

Android SDK ROOT

Gabrog

Lurker
Dec 27, 2019
1
0
Hello everyone,

When I start an emulator with Android Studio, I got the error saying that "ANDROID SDK ROOT variable isn't set".

After some days looking on how to solve this error, I still got it.

Here's what I tried:
  • Uninstall & reinstall Android Studio
  • Create the environment variables ANDROID_SDK_ROOT and ANDROID_SDK_HOME and set it to the SDK directory
  • Checking the SDK Tool to get the right location
  • Checking the tools installed (SDK Tools, SDK Platform Tools, Emulator)
  • Put the SDK directory to the root of C:
  • Updating the PATH environment variable, and adding "platform-tools" and "platforms" folder address to it
It looks like I've tested everyhting, but nothing works.
I have done nothing special to get this error, it "spawned" from nowhere.

The next step is installing Android Studio on a virtual machine and check if it works.

If anyone got any solution, that would be great.

Thanks
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones