Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit 4da0cea

Browse files
YorkShenlucky-chen
authored andcommitted
[Android] Copy so. (#2454)
Use a dedicated way to copy unstripped .so file without the importable file path.
1 parent 151c469 commit 4da0cea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/sdk/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,11 @@ bintray {
378378
afterEvaluate {
379379
transformNativeLibsWithStripDebugSymbolForRelease << {
380380
copy{
381-
from new File(project.buildDir, "intermediates/transforms/mergeJniLibs/release/folders/2000/3/main/lib")
381+
from transformNativeLibsWithMergeJniLibsForRelease
382382
into new File(project.buildDir, "unstrippedSo")
383383
include '**/libweexjss.so', '**/libweexcore.so'
384384
eachFile {
385-
it.path = "${it.relativePath.segments.first()}_${it.name}"
385+
it.path = "${it.relativePath.segments[5]}_${it.name}"
386386
}
387387
}
388388
}

0 commit comments

Comments
 (0)