1.编译没有odex的升级包(eng版本):
修改product/device/XXX/“lunch的启动选项”/BoardConfig.mk
# In user-builds, dexpreopt always enable, but we can disable in here.
#DISABLE_DEXPREOPT := true
# In eng/others-build, dexpreopt disable, but we can enable in here.
#WITH_DEXPREOPT := true
2.android 查看所有的包:
pm list packages
demo: shell@hwH60:/ $ pm list packages
启动一个应用:
am start + packagename
demo: shell@hwH60:/ $ am start com.yht.b
4.Android打包一个Apk后,查看它的VersionCode、VersionName
aapt dump badging REL_Doctor_v2.6.apk