Commit 6e386c58 authored by DrKLO's avatar DrKLO

One more fix for native lib loader

parent b33d5f07
...@@ -76,6 +76,12 @@ public class NativeLoader { ...@@ -76,6 +76,12 @@ public class NativeLoader {
} }
out.close(); out.close();
if (Build.VERSION.SDK_INT >= 9) {
destLocalFile.setReadable(true, false);
destLocalFile.setExecutable(true, false);
destLocalFile.setWritable(true);
}
try { try {
System.load(destLocalFile.getAbsolutePath()); System.load(destLocalFile.getAbsolutePath());
nativeLoaded = true; nativeLoaded = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment