I’ve solved the problem. This works for me:
In
/my_current_project/
I’ve created a file called local.properties and put inside
sdk.dir=/my_current_path_to/sdk
In the console I need to do
set ANDROID_HOME=/my_current_path_to/sdk
Hope this helps.