When I try to run my app on emulator, this error pops up.
Android Studio 3 error: Local SDK path not set
I have tried syncing with gradle. My Sdk path is known and shows otherwise everywhere else in the studio
I solved it, do following steps to solve:
1-Make sure in file "local.properties" sdk path set correctly: example:
sdk.dir=/Users/hamed{your own username}/Library/Android/sdk
if the sdk.dir shows the wrong sdk path change it to your correct path.
2- Build: Clean your project
3- Build: Rebuild
4-Close Android Studio and open it again
Error has gone :)
local.propertiesfile is:sdk.dir=/Users/myname/Library/Android/sdk