gpt4 book ai didi

android - itext for android 和 lint 错误

转载 作者:行者123 更新时间:2023-11-29 15:13:40 24 4
gpt4 key购买 nike

我将适用于 android 的 android 库的 itext 添加到我的项目中,一切正常但是当我使用 gradle lint 构建我的项目时生成此错误:

InvalidPackage: Package not included in Android
../../libs/itextg-5.5.3.jar: Invalid package reference in library; not included in Android: java.awt. Referenced from com.itextpdf.text.pdf.BarcodeCodabar.
../../libs/itextg-5.5.3.jar: Invalid package reference in library; not included in Android: java.awt.image. Referenced from com.itextpdf.text.pdf.BarcodeCodabar.
../../libs/itextg-5.5.3.jar: Invalid package reference in library; not included in Android: javax.management. Referenced from com.itextpdf.testutils.ITextTest.
../../libs/itextg-5.5.3.jar: Invalid package reference in library; not included in Android: javax.xml.crypto.dom. Referenced from com.itextpdf.text.pdf.security.MakeXmlSignature.
../../libs/itextg-5.5.3.jar: Invalid package reference in library; not included in Android: javax.xml.crypto.dsig. Referenced from com.itextpdf.text.pdf.security.MakeXmlSignature.

抑制和忽略此错误是否安全?

我下载了最新的android itext versione (5.5.3)

谢谢

最佳答案

那些依赖不小心留在了 5.5.3 的 android 端口中。

它们将在即将发布的 5.5.4 中删除(两周后发布)。

关于android - itext for android 和 lint 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27190053/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com