- Windows 10 home edition (Chinese)
- Android Studio 3.0.1
- Gradle 4.1
The steps:
- Create a new project with an android module.
- In android module, under "/src/main" directory, create "jniLibs/armeabi-v7a" folder, put any ".so" file(s) into it.
- Build project and generate ".apk" file.
- Open ".apk" file with Zip-Tools (Unzip ".apk" file), extract all files from the APK.
- Compare and check ".so" file. All of these ".so" files has been modified 3 bytes (near file tail), like '0x00' change to '0x04', '0x08' change to '0x12'.
Why the '.so' files in APK not equal original '.so' files?