1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-30 10:14:04 +00:00

One more fix for native lib loader

This commit is contained in:
DrKLO 2014-10-24 18:04:53 +04:00
parent b33d5f0786
commit 6e386c5884

View File

@ -76,6 +76,12 @@ public class NativeLoader {
}
out.close();
if (Build.VERSION.SDK_INT >= 9) {
destLocalFile.setReadable(true, false);
destLocalFile.setExecutable(true, false);
destLocalFile.setWritable(true);
}
try {
System.load(destLocalFile.getAbsolutePath());
nativeLoaded = true;