Skip to content

Commit 4555926

Browse files
author
wangxiang
committed
🧑‍💻🐳 chore: update 打包 so 库支持
1 parent 1acca68 commit 4555926

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,12 @@ android {
7373
addManifestPlaceholders([
7474
'app_name': '@string/app_name'
7575
])
76-
// cpu架构so库
76+
// 仅保留两种架构的 so 库,根据 Bugly 统计得出
7777
ndk {
78-
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","x86_64"
78+
// armeabi:万金油架构平台(占用率:0%)
79+
// armeabi-v7a:曾经主流的架构平台(占用率:10%)
80+
// arm64-v8a:目前主流架构平台(占用率:95%)
81+
abiFilters "armeabi-v7a", "arm64-v8a"
7982
}
8083
}
8184
}

0 commit comments

Comments
 (0)