bauerca / drag-sort-listview

Android ListView with drag and drop reordering.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build issue with SDK build tools 19.1

a-n-ermakov opened this issue · comments

Hello,

i cloned and tried to build dslw lib using maven and got error:

Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.4.1:generate- sources failed: Could not find tool 'aapt'. Please provide a proper Android SDK directory path as configuration parameter <\sdk><\path>... in the plugin . As an alternative, you may add the parameter to commandline: -Dandroid.sdk.path=... or set environment variable ANDROID_HOME. -> [Help 1]

I founded a solution for this issue: http://stackoverflow.com/questions/16927306/could-not-find-tool-aapt-please-provide-proper-android-sdk-directory-path-as-co

Version 3.6.0 for android-maven-plugin solved the problem.

Here is a pom.xml plugin section for correct build on my pc

<plugin>
    <groupId>com.jayway.maven.plugins.android.generation2</groupId>
    <artifactId>android-maven-plugin</artifactId>
    <version>3.6.0</version>
    <extensions>true</extensions>
    <configuration>
        <sdk>
             <platform>19</platform>
         </sdk>
    </configuration>
 </plugin>

OS: Windows 7, Maven 3, SDK build tools 19.1