From 624a786bad6f6e5ebda85453a190bb6bc9cc6d6d Mon Sep 17 00:00:00 2001 From: NkBe Date: Mon, 18 Aug 2025 13:40:32 +0800 Subject: [PATCH] fix: liblspatch.so not found by modifying include path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 让不同的构建有独立的输出目录,防止文件冲突 --- patch-loader/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch-loader/build.gradle.kts b/patch-loader/build.gradle.kts index fab09df..885797c 100644 --- a/patch-loader/build.gradle.kts +++ b/patch-loader/build.gradle.kts @@ -44,7 +44,7 @@ androidComponents.onVariants { variant -> val libDir = variant.name + "/strip${variantCapped}DebugSymbols" from( fileTree( - "dir" to "$buildDir/intermediates/stripped_native_libs/$libDir/out/lib", + "dir" to "$buildDir/intermediates/stripped_native_libs/${variant.name}/strip${variantCapped}DebugSymbols/out/lib", "include" to listOf("**/liblspatch.so") ) )