Hola!!


This site is built using hugo and the theme is built by Fredrik if you enjoy it, it is available at github


Resolve error in AS

The following error occurred in the android studio.

Resolve Error

SDK location not found. Define location with sdk.dir in the local.properties files
or with an ANDROID_HOME environment variable.

I do the following in the corresponding you in my case.

1. Create local.properties
2. Add local.properties to sdk.dir=/Users/xxx/Downloads/android-sdk-macosx
3. set ANDROID_HOME=/Users/xxx/Downloads/android-sdk-macosx/sdk
4. export ANDROID_HOME=/Users/xxx/Downloads/android-sdk-macosx/sdk
5. ./gradlew
6. reinstall android studio

It works.