我在生成签名Apk时遇到错误。
Warning:com.googlecode.mp4parser.authoring.tracks.mjpeg.OneJpegPerIframe: can't find referenced class javax.imageio.ImageIO
Warning:com.googlecode.mp4parser.authoring.tracks.mjpeg.OneJpegPerIframe: can't find referenced class java.awt.image.BufferedImage
Warning:there were 6 unresolved references to classes or interfaces.
Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.
Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> Job failed, see logs for details
任何人都可以建议使用progaurd进行哪些更改。
我还在progaurd-rules.pro中设置了以下代码。
-dontwarn java.awt.image.BufferedImage
-dontwarn javax.imageio.ImageIO
但是提出了同样的问题。