如何在 Android.bp 中导入 split_config.$arch.apk?
How do I import a split_config.$arch.apk in Android.bp?
Android.bp
android_app_import {
name: "Wikipedia",
apk: "Wikipedia.apk",
dpi_variants: {
xhdpi: {
apk: "split_config.xhdpi.apk",
},
},
arch_variants: {
armeabi_v7a: {
apk: "split_config.armeabi_v7a.apk",
},
},
dex_preopt: {
enabled: false,
},
presigned : true,
product_specific: true,
}
如何添加依赖apk,即spit config。我只能导入 dpi 变体,那么变体 apks 和语言 apks
而不是“arch_variants”,只需使用“arch”。参见 https://android.googlesource.com/platform/external/chromium-webview/+/refs/tags/android-r-beta-2/Android.bp
Android.bp
android_app_import {
name: "Wikipedia",
apk: "Wikipedia.apk",
dpi_variants: {
xhdpi: {
apk: "split_config.xhdpi.apk",
},
},
arch_variants: {
armeabi_v7a: {
apk: "split_config.armeabi_v7a.apk",
},
},
dex_preopt: {
enabled: false,
},
presigned : true,
product_specific: true,
}
如何添加依赖apk,即spit config。我只能导入 dpi 变体,那么变体 apks 和语言 apks
而不是“arch_variants”,只需使用“arch”。参见 https://android.googlesource.com/platform/external/chromium-webview/+/refs/tags/android-r-beta-2/Android.bp