android - Update native library without reinstalling the app -
i have app include 2 native library (for example libfirst.so, libsecond.so). loading libraries standard method. system.loadlibrary("first"); system.loadlibrary("second"); now need able update library without reinstalling app (without update .apk). can loaded native libraries method system.load("/storage/emulated/0/armeabi/libfirst.so"); system.load("/storage/emulated/0/armeabi/libsecond.so"); i think bad practice. tried copy manual libraries in folder getapplicationinfo().nativelibrarydir , system error: open failed: eacces (permission denied) best practices update native libraries without update apk ? what best practices update native libraries without update apk ? i don't believe contingency covered. code signing 2 things. first, ensures developer publishes app same 1 updates app. second, creates trust relationships between related apps (but not apply here). nikolay elenkov discusses topic @ code signing in ...