参考此文
需要注意
在Linux和Mac上面,压缩jar为dex,要使用dex2jar-0.0.9.12中的d2j-jar2dex.sh
./d2j-jar2dex.sh -f -o /Users/xxx/Downloads/plugin.dex /Users/xxx/Downloads/plugin.jar
为使得DexClassLoader可以读出文件
需要将plugin.dex修改为classes.dex,并用zip压缩在任意.zip文件中,
如果不压缩,则代码会报
java.io.IOException: unable to open DEX file