0

我正在尝试在 Linux 主机上使用 dex2oat 将 APK(更具体地说,dex 文件)编译为 OAT。我按照此处给出的说明进行操作,但出现以下错误:

Could not create image space with image file '/home/user/Documents/Android/out/host/linux-x86/framework/x86_64/core.art'. Attempting to fall back to imageless running. Error was: Cannot compile image to /home/user/Documents/Android/out/host/datadir/dalvik-cache/x86_64/dalvik-cache/x86/home@user@Documents@Android@out@host@linux-x86@framework@x86_64@core.art: Image compilation disabled.

它会响铃吗,还是有另一种方法可以在不使用模拟器或 VM 的情况下编译为 OAT?

4

0 回答 0