diff options
| -rw-r--r-- | xmake/rules/platform/android/package.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/platform/android/package.lua b/xmake/rules/platform/android/package.lua index 22715a073..d38fcecea 100644 --- a/xmake/rules/platform/android/package.lua +++ b/xmake/rules/platform/android/package.lua @@ -106,7 +106,8 @@ function main(target, opt) depend.on_changed(function () progress.show(opt.progress, "${color.build.target}packing.apk %s", final_apk) - local tmp_path = path.join(target:targetdir(), "temp") + local tmp_path = path.join(target:autogendir(), "packing") + os.tryrm(tmp_path) os.mkdir(tmp_path) os.mkdir(path.join(tmp_path, "lib")) os.mkdir(path.join(tmp_path, "lib", target:arch())) |
