Android工作总结:禁止生成.odex文件

本文介绍了一个Android系统的SystemUI模块构建过程,包括配置参数、源文件指定、依赖库设置等细节。

LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_DEX_PREOPT := false LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) \ ../../../ex/carousel/java/com/android/ex/carousel/carousel.rs LOCAL_JAVA_LIBRARIES := services LOCAL_STATIC_JAVA_LIBRARIES := android-common-carousel LOCAL_PACKAGE_NAME := SystemUI LOCAL_CERTIFICATE := platform LOCAL_PROGUARD_FLAG_FILES := proguard.flags include $(BUILD_PACKAGE) include $(call all-makefiles-under,$(LOCAL_PATH))


pin file: /system_ext/priv-app/OplusLauncher/OplusLauncher.apk use-pinlist: true 01-01 13:06:39.711 3026 3114 W PinnerService: Could not find pinlist.meta for "/system_ext/priv-app/OplusLauncher/OplusLauncher.apk": pinning as blob 01-01 13:06:39.711 3026 3114 D PinnerService: pinning at 0 6291456 bytes of /system_ext/priv-app/OplusLauncher/OplusLauncher.apk 01-01 13:06:39.810 3026 3114 W PinnerService: Processing dependencies for APK: /system_ext/priv-app/OplusLauncher/OplusLauncher.apk | ABI: arm64-v8a 01-01 13:06:39.811 3026 3114 W PinnerService: Calling DexFile.getDexFileOutputPaths: fileName=/system_ext/priv-app/OplusLauncher/OplusLauncher.apk, arch=arm64 01-01 13:06:39.848 3026 3114 W PinnerService: ART dependencies found: [/system_ext/priv-app/OplusLauncher/oat/arm64/OplusLauncher.vdex] 01-01 13:06:39.849 3026 3114 W PinnerService: Found VDEX file: /system_ext/priv-app/OplusLauncher/oat/arm64/OplusLauncher.vdex 01-01 13:06:39.849 3026 3114 D PinnerService: pin file: /system_ext/priv-app/OplusLauncher/oat/arm64/OplusLauncher.vdex use-pinlist: false 01-01 13:06:39.849 3026 3114 D PinnerService: pinning at 0 1105920 bytes of /system_ext/priv-app/OplusLauncher/oat/arm64/OplusLauncher.vdex 01-01 13:06:39.851 3026 3114 I PinnerService: Pinned /system_ext/priv-app/OplusLauncher/OplusLauncher.apk ^C C:\Users\V59155435>adb shell RE645F:/ # cd /system_ext/priv-app/OplusLauncher/oat/arm64 RE645F:/system_ext/priv-app/OplusLauncher/oat/arm64 # ls OplusLauncher.art OplusLauncher.odex OplusLauncher.vdex RE645F:/system_ext/priv-app/OplusLauncher/oat/arm64 #为什么OplusLauncher.odex存在但是Found VDEX file: /system_ext/priv-app/OplusLauncher/oat/arm64/OplusLauncher.vdex 只找到了vdex文件
11-12
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值