Android JRE System library (java.awt.*) is missed

后端 未结 5 984
眼角桃花
眼角桃花 2020-12-21 05:10

I\'m trying to run pdfbox.jar library on Android and seems like I do everything right. I use Eclipse pluging to deploy the project. The code is very simple just call for pd

5条回答
  •  死守一世寂寞
    2020-12-21 05:20

    Android does not include most of the java.awt.* classes, and so third-party Java libraries that depend upon such classes would need to be rewritten to work on Android, or simply not used.

    I can't use jars which are depend on jre libraries that dalvik doesn't know to use.

    More accurately, you cannot use JARs which depend on classes that the Android SDK does not include.

提交回复
热议问题