Creating a Dex file using python or another language

Is it possible to generate dalvik bytecode at runtime using a language like python, perl or something like that?

thanks

+4
source share
2 answers

I think the best way is to create a smali-compatible file and compile it using smali http://code.google.com/p/smali/

+1
source

Take a look at android-scripting , a toolkit for running Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and the shell.

0
source

Source: https://habr.com/ru/post/1341305/


All Articles