ADT Packaging APK With Native .so Libs
Greetings,
I have 2 native libararies (.so) which I need to include in an apk. It appears that they MUST exist in the following 2 directories:
myAPK
/lib
/armeabi
/armeabi-v7a
My team has spent probably 72 hours ellapsed trying to figure out how to do this and we have yet to find a solution. Thus far we have tried:
- Extracting an .apk archive, manually inserting the above /lib directory as needed, re-zipping the .apk, and then re-signing the apk
- This approach was haulted by the fact that no matter what we did in terms of signing, when trying to run the APK on a device, logcat informed us that there were no certificates present. This is almost certainly untrue, but it suggests that we simply do not understand the complexities of re-signing a previously signed APK after we have manually altered it.
- Including the /lib directory when calling the ADT packager
- This call successfully included the /lib directory, but the /lib directory was located within the APK's /assets directory like all of the other AIR files. This seems to prevent the Android loader from locating the native libraries.
A permanent solution to this problem would be great, but at this point I will even thank someone for a completely hacked solution because this impediment has crippled our entire project's foreword progress.
Thanks.
Matt
