RSS

Tag Archives: sdk.dir

Gradle: SDK location not found, the problem and solution


In a recent project, I created a Gradle project in windows, but when I load the project in Ubuntu and Mac OSX, an error “SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable”

image

I then followed the instruction, and in the ~/.bashrc file, I added the environment variable ANDROID_HOME

image

Read the rest of this entry »

Advertisements
 
8 Comments

Posted by on July 2, 2014 in General, Linux, Mac, Programming, Windows

 

Tags: , , , , , , , , , , , , ,