Solving “Android SDK location cannot be at the filesystem root” error

The problem

So you’ve downloaded the latest version of Android Studio and created a project using either Java or Kotlin. Just before it gets created, Android Studio gives you an error message stating that:

Android SDK location cannot be at the filesystem root

Sometimes you also get a message stating:

SDK emulator directory is missing

This post will show you how to resolve this problem on Windows, Linux and even Mac.

The solution

If you’re on Windows, download the “No .exe installer” zip archive instead of the “exe” binary. This will make it easier to start from scratch in case you make a mistake. Those on Linux and Mac can only download compressed archives.

Unpack the archive to a non-root directory. If you’re on Windows avoid:

  1. Installing to the root drive i.e. the top-level directory of the drive you installed Windows on. You can create a subdirectory in c:(assuming this is your root drive) and then copy the extracted Android folder there.
  2. Installing into the “Program Files” directory or any directory where Windows requires elevated privileges to copy the extracted folder.

Those on other systems can extract the Android folder into their home directories. This will usually resolve the problem for you.

Hope this helps 🙂

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • MetaMask (ETH)
Scan to Donate Bitcoin to bc1q7kltu7d8sk20p8jlr7v2e4ekw0cqpgcu9mw5ul

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x5cA4136A8AcAA073BA1DBF661fEb6bd3Fc333985

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to rUQHw4gqDNJNair6Moj1PaJ1MV5GAVDYo2

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qq7250usgeehqhxjxcgahfefdxep9qzu2c6h2j53xc

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Donate With MetaMask

Donate ETH Via PAY With Metamask