Eclipse: No Android SDK path could be found
Life goes on and so does my Android development. Here is a solution for a common problem when Maven struggles to find the Android SDK. The error message that occurs:
No Android SDK path could be found.
You should create a settings.xml file in your ~.m2/ folder. (~/.m2/settings.xml). The file should contain the following content:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>android</id>
<properties>
<android.sdk.path>
PATH / TO / THE / ANDROID / SDK
</android.sdk.path>
</properties>
</profile>
</profiles>
<activeProfiles> <!--make the profile active all the time -->
<activeProfile>android</activeProfile>
</activeProfiles>
</settings>
Replace the “PATH / TO..” with the path of your Android SDK folder. Read more over here.
[...] If you get this error read this post. [...]