My application works fine if i install it as a Normal application. When i tried to make my application as a System App its failing to load the native libraries.
Following are the steps followed in order to make my application as System App.
1) Rooted my device
2) placed my .apk file in system/app folder.
My app will be installed as a System App but it crashes on launch as it is not getting libraries(.so files).
I Tried doing the following things in order to resolve the issue
1) Extracted my .apk file and copied the libs from my .apk file to System/libs folder but it didnt work.
2)Extracted my .apk file and copied the libs from my .apk file to data/data/com.myapp.packagename folder but it didnt work.
3) Tried changing the the default allocated permissions 600 to 755 but it didnt work.
4)If i comment out the library loading code in my application, the application runs successfully.