When you migrate a project from one computer to another be extra cautious. Recently I tried to import some projects from Windows to Mac, and every time I had the same frustrating error. The error doesn’t locate the SDK on Mac, therefore we need to point the location before re-building the project.
Learn how to fix the problem inside Android Studio.
Steps
- Open the project root directory
- Open the file local.properties , You will notice that the path is Windows based.
- Replace the following
sdk.dir=/Applications/Android Studio.app/sdk***
- Then Build–>Rebuild project
- Done
***make sure you know where your android studio directory is in my case it was /Applications/Android Studio.app/sdk
[…] SDK doesn’t exist Mac problem […]