=============== Problem description ====================
I have a ready-made so file and want to package it into the APK by compiling. I don't know how to do it?
============= Solution 1 ======================
Libs/armeabi/is in the project root directory.
============= Solution 2 ======================
Big brother, so is put in the lib directory. During packaging, it will be automatically compiled into APK ~
============= Solution 3 ======================
6th floor. Reference reply on the 19 th floor:
Reference reply on the 17 th floor:
Big brother, so is put in the lib directory. During packaging, it will be automatically compiled into APK ~
Do you mean to put so under system/lib or the Lib under the application root directory?
============= Solution 4 ======================
Libs/armeabi can't change libs/armeabi-v7a try
============= Solution 5 ======================
I tried.
Put it in the Lib folder of the app under system.
It will be automatically packaged.
No configuration file is required. My GPS. Default. So is packaged in this way.
This is also the case with APK, which is quite simple.
So package into APK