I have noticed that some of the android applications as containing Lua scripts and bytecode.
I think Android can under Java Davlik bytecode or native calls.
Any hints on this?
Android runs dalvik bytecode, and smali is an "assembly" language for dalvik bytecode. Android apps are typically written in the java (or other jvm) language and compiled to .class files as per usual. Those class files are then converted to dalvik bytecode by the "dx" utility, which is a part of the Android SDK. The output of dx is (typically) a single dex file that contains all of the application's classes.
Lua is completely unrelated. For an Android application to be able to load Lua scripts/bytecode, it must include its own Lua interpreter/VM.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.