score:0

Accepted answer

the android for maven eclipse project doesn't yet support native libraries. if you'd like to see this supported please send a pull request.

score:1

here is how to include native libraries in your apk:

    <build>
    <finalname>${project.artifactid}</finalname>
    <plugins>
        <plugin>
            <groupid>com.simpligility.maven.plugins</groupid>
            <artifactid>android-maven-plugin</artifactid>
            <extensions>true</extensions>
            <configuration>
                <manifest>
                    <debuggable>true</debuggable>
                </manifest>
                <!-- where the native files are located; in the future we should use src/main/libs -->
                <nativelibrariesdirectory>${project.basedir}/libs</nativelibrariesdirectory>                
            </configuration>
            <executions>
                <execution>
                    <id>manifestupdate</id>
                    <phase>process-resources</phase>
                    <goals>
                        <goal>manifest-update</goal>
                    </goals>
                </execution>
                <execution>
                    <id>alignapk</id>
                    <phase>package</phase>
                    <goals>
                        <goal>zipalign</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Related Query

More Query from same tag