问题描述
程序包当前打包后的体积为16MB,远超预期。
解决措施
"nativeLib": {
"debugSymbol": {
// This configuration can be used to execute strip on the cpp compiled product so, removing debugging information and symbol tables from so
"strip": true,
// Execute strip
"exclude": []
// Execute strip filtering regular expression rules
}
}, {
"module": {
// ...
"compressNativeLibs": true // Package libs library in compressed storage format
}
}