Native libraries are not tied to APKs using Android-maven-plugin

I am trying to create an Android application using Maven. I am using android-maven-plugin version 3.0.2 (also tried 3.0.0). Everything is going well, but the .so files inside the / libs folder are not bound. The folder structure is as follows:

-android
--src
--assets    
--res
--libs
----armeabi
----armeabi-v7a

I follow pom.xml as indicated in one of the source library samples . The APK compiles fine, and almost everything works, except for the part where I call the native function.

From the samples, it does not look like everything should be done. I have the feeling that only one of the files is attached. Does anyone else face the same issue?

+5
source share
1 answer

Maven android. APK, .

0

All Articles