继续,

上文提到的是用BUILD_STATIC_JAVA_LIBRARY在Android4.2源码下编译出来的jar包可以在Eclipse(SDK版本4.1)上使用,

找来Android6.0的源码,编译出来jar包导入Eclipse,没有报错提示,安装到手机(Android6.0.1)之后,报错:

Rejecting re-init on previously-failed class

还是
Conversion to Dalvik format failed with error 1

记不清了。

功力尚浅,从现象上观察像是编译器版本兼容性问题,有待有空继续深入研究Dalvik虚拟机内部原理。

 

 

备注:aHR0cCUzQS8vd3d3LmNuYmxvZ3MuY29tL3poaGQv

相关文章:

  • 2021-08-03
  • 2021-11-19
  • 2021-09-14
  • 2021-06-13
  • 2021-06-14
  • 2022-01-01
  • 2021-05-02
  • 2021-12-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2021-09-30
  • 2021-06-06
  • 2022-01-18
  • 2021-05-25
相关资源
相似解决方案