Dynamically Generating Dalvik Bytecode into a running Dalvik/Android application

后端 未结 5 976
我在风中等你
我在风中等你 2020-12-08 01:09

This question has been asked(and answered) many times about dynamically generating and loading java bytecodes at runtime into a running Dalvik VM, but is there any way to lo

5条回答
  •  不思量自难忘°
    2020-12-08 01:26

    I have used ASM and BCEL to generate Java classes and then I have converted them to Dex files. Finally I have created jar files to load dynamically on device.

    You can check out my code :)

    https://github.com/sciruela/android

提交回复
热议问题