目前,每当我在运行时启动该应用程序时,ART都会为每个应用程序创建oat文件夹。此 oat 文件夹包含 .odex 和 .vdex 文件: 例如
app/sample.apk
app/oat
app/oat/instruction_set/sample.odex
app/oat/instruction_set/sample.vdex
如何在安卓奥利奥中停止此燕麦文件夹创建?
在 Android.mk 文件中添加以下行:
LOCAL_DEX_PREOPT := false