diff --git a/xpatch/src/main/assets/classes.dex b/xpatch/src/main/assets/classes.dex old mode 100644 new mode 100755 index af00093..2e81e5b Binary files a/xpatch/src/main/assets/classes.dex and b/xpatch/src/main/assets/classes.dex differ diff --git a/xpatch/src/main/assets/lib/arm64-v8a/libxpatch_wl.so b/xpatch/src/main/assets/lib/arm64-v8a/libxpatch_wl.so index 8abe6bf..7607c8c 100644 Binary files a/xpatch/src/main/assets/lib/arm64-v8a/libxpatch_wl.so and b/xpatch/src/main/assets/lib/arm64-v8a/libxpatch_wl.so differ diff --git a/xpatch/src/main/assets/lib/armeabi-v7a/libxpatch_wl.so b/xpatch/src/main/assets/lib/armeabi-v7a/libxpatch_wl.so index 7c7dd96..634b7bd 100644 Binary files a/xpatch/src/main/assets/lib/armeabi-v7a/libxpatch_wl.so and b/xpatch/src/main/assets/lib/armeabi-v7a/libxpatch_wl.so differ diff --git a/xpatch/src/main/java/com/storm/wind/xpatch/task/SoAndDexCopyTask.java b/xpatch/src/main/java/com/storm/wind/xpatch/task/SoAndDexCopyTask.java index 2a0fe7f..3f98f8d 100644 --- a/xpatch/src/main/java/com/storm/wind/xpatch/task/SoAndDexCopyTask.java +++ b/xpatch/src/main/java/com/storm/wind/xpatch/task/SoAndDexCopyTask.java @@ -48,10 +48,10 @@ public class SoAndDexCopyTask implements Runnable { // Try to find so file path in the apk, then copy so into it boolean copySuccess = false; 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); - if (copySuccess) { - break; + if (copied) { + copySuccess = true; } }