JesusFreke/smali

[Feature Request] Could we support dex v41?

Opened this issue · 3 comments

The following cl turns on the dex v41.

"Enable dex container (DEX v41) for the whole system"
https://android-review.git.corp.google.com/c/platform/build/soong/+/2853426

@wangchaohui I think the best chance to get this integrated is to open this feature request on the issue tracker of the new smali repository: https://github.com/google/smali/issues.

I found some apks even have v54. recompiling the apk will success if I change the smali nothing. but recompiling the apk will fail if I change the samli anything.

The maximum allowed register in this context is list of registers is v15

I don't know why. How can I ingore the smali error when recompile the apk.

@qyzhaojinxi You mix here things up. We are talking here about the dex version 41 and not about (local) registers that are labeled v0 to vN. The problem you have btw is that you use an instruction in combination with a register that is out of range, e.g., the regular invoke instruction can only address v0 to v15 as operands.