1.Fix NullpointerException when source app has no access file system permission, 2.Fix an random crash,3.Add all so file if source apk has
This commit is contained in:
parent
30b75afb87
commit
129fda8243
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -48,10 +48,10 @@ public class SoAndDexCopyTask implements Runnable {
|
||||||
// Try to find so file path in the apk, then copy so into it
|
// Try to find so file path in the apk, then copy so into it
|
||||||
boolean copySuccess = false;
|
boolean copySuccess = false;
|
||||||
for (String libPath : APK_LIB_PATH_ARRAY) {
|
for (String libPath : APK_LIB_PATH_ARRAY) {
|
||||||
copySuccess = copyLibFile(unzipApkFilePath + libPath.replace("/", File.separator),
|
boolean copied = copyLibFile(unzipApkFilePath + libPath.replace("/", File.separator),
|
||||||
SO_FILE_PATH_MAP.get(libPath), false);
|
SO_FILE_PATH_MAP.get(libPath), false);
|
||||||
if (copySuccess) {
|
if (copied) {
|
||||||
break;
|
copySuccess = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue