Android 5.0中OAT文件的路径是什么
问题描述:
Android 5.0在安装应用程序时使用dex2oat将dex文件转换为oat文件.但是在我的手机上只能找到boot.oat,转换后的oat文件的确切路径在哪里?我想进行调查.
Android 5.0 uses dex2oat to convert dex file to oat file when app installing.But in can only find boot.oat on my phone,where is the exactly path of convrted oat file?I want to have one for investigation.
答
实际上,我在下面的文档中找到了答案.
Actually I find the answer by the doc below.
Dex2oat
– Ex:
/system/bin/dex2oat --zip-fd=6 --zip-location=/system/app/
Email.apk --oat-fd=7 --oat-location=/data/dalvik-cache/
system@app@Email.apk@classes.dex --profile-file=/data/
dalvik-cache/profiles/com.android.email
Result OAT file will be placed in /data/dalvikcache