We have a custom launcher app that can be run directly with Androidstudio. When precompiling into the system/priv-app directory, the so file can never be found.
1, the simplest method, presetting so to system/lib64, still prompts that so cannot be found.
2. Manually create a lib connection in the directory of the app to point to the so in the system/lib64, so that the SO can be found, but there will be some other errors, but it is obvious that running directly in AS can work normally.
3. Comparing the Android.mk file of the preset app in the system, I found that the mk file signature of the preset app is different from mine.
The signature used by my application is
The signature of the system preset app is
But I feel I can't find it, so the problem should not be caused by the signature. There's really nothing we can do. I tried. After logging into the system manually, I preset it in the system and the problem is solved. ...
Please also ask the great god to know the reason.
The complete mk file of the default apk is attached below.