ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

android-添加proguard时出错

2019-11-12 02:28:05  阅读:211  来源: 互联网

标签:proguard android-proguard android applozic


Logcat:

Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find superclass or interface javax.swing.JFrame
Warning:com.sun.pdfview.FullScreenWindow$PickMe$1: can't find superclass or interface java.awt.event.ActionListener
Warning:com.sun.pdfview.OutlineNode: can't find superclass or interface javax.swing.tree.DefaultMutableTreeNode
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find superclass or interface java.awt.image.ComponentColorModel
Warning:com.sun.pdfview.PDFPrintPage: can't find superclass or interface java.awt.print.Printable
Warning:com.sun.pdfview.PDFPrintPage$1: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer: can't find superclass or interface javax.swing.JFrame
Warning:com.sun.pdfview.PDFViewer: can't find superclass or interface java.awt.event.KeyListener
Warning:com.sun.pdfview.PDFViewer: can't find superclass or interface javax.swing.event.TreeSelectionListener
Warning:com.sun.pdfview.PDFViewer$1: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$10: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$11: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$12: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$13: can't find superclass or interface java.awt.event.WindowAdapter
Warning:com.sun.pdfview.PDFViewer$14: can't find superclass or interface java.awt.event.ActionListener
Warning:com.sun.pdfview.PDFViewer$16: can't find superclass or interface javax.swing.filechooser.FileFilter
Warning:com.sun.pdfview.PDFViewer$2: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$3: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$4: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$5: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$6: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$7: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$8: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$9: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$ThumbAction: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PDFViewer$ZoomAction: can't find superclass or interface javax.swing.AbstractAction
Warning:com.sun.pdfview.PagePanel: can't find superclass or interface javax.swing.JPanel
Warning:com.sun.pdfview.PagePanel: can't find superclass or interface java.awt.image.ImageObserver
Warning:com.sun.pdfview.PagePanel: can't find superclass or interface java.awt.event.MouseListener
Warning:com.sun.pdfview.PagePanel: can't find superclass or interface java.awt.event.MouseMotionListener
Warning:com.sun.pdfview.PdfSubByteSampleModel: can't find superclass or interface java.awt.image.SampleModel
Warning:com.sun.pdfview.RefImage: can't find superclass or interface java.awt.image.BufferedImage
Warning:com.sun.pdfview.ThumbPanel: can't find superclass or interface javax.swing.JPanel
Warning:com.sun.pdfview.ThumbPanel: can't find superclass or interface javax.swing.Scrollable
Warning:com.sun.pdfview.ThumbPanel: can't find superclass or interface java.awt.image.ImageObserver
Warning:com.sun.pdfview.ThumbPanel$1: can't find superclass or interface java.awt.event.MouseAdapter
Warning:com.sun.pdfview.colorspace.CMYKColorSpace: can't find superclass or interface java.awt.color.ColorSpace
Warning:com.sun.pdfview.colorspace.CalGrayColor: can't find superclass or interface java.awt.color.ColorSpace
Warning:com.sun.pdfview.colorspace.CalRGBColor: can't find superclass or interface java.awt.color.ColorSpace
Warning:com.sun.pdfview.colorspace.LabColor: can't find superclass or interface java.awt.color.ColorSpace
Warning:com.sun.pdfview.colorspace.MaskColorSpace: can't find superclass or interface java.awt.color.ColorSpace
Warning:com.sun.pdfview.decode.MyTracker: can't find superclass or interface java.awt.image.ImageObserver
Warning:com.sun.pdfview.pattern.PatternType1$1: can't find superclass or interface java.awt.Paint
Warning:com.sun.pdfview.pattern.PatternType1$Type1PaintContext: can't find superclass or interface java.awt.PaintContext
Warning:com.sun.pdfview.pattern.ShaderType2$Type2Paint: can't find superclass or interface java.awt.Paint
Warning:com.sun.pdfview.pattern.ShaderType2$Type2PaintContext: can't find superclass or interface java.awt.PaintContext
Warning:test.FontToy: can't find superclass or interface javax.swing.JPanel
Warning:test.FontToy$1: can't find superclass or interface java.awt.event.ItemListener
Warning:test.FontToy$2: can't find superclass or interface java.awt.event.ItemListener
Warning:test.FontToy$3: can't find superclass or interface java.awt.event.KeyAdapter
Warning:test.FontToy$4: can't find superclass or interface java.awt.event.WindowAdapter
Warning:test.FontToy$5: can't find superclass or interface java.awt.event.ActionListener
Warning:test.FontToy$6: can't find superclass or interface javax.swing.event.ChangeListener
Warning:test.FontToy$7: can't find superclass or interface javax.swing.filechooser.FileFilter
Warning:test.TTFTest$1: can't find superclass or interface java.awt.event.WindowAdapter
Warning:test.TestType1CFont: can't find superclass or interface javax.swing.JPanel
Warning:test.TestType1CFont: can't find superclass or interface java.awt.event.KeyListener
Warning:com.sun.pdfview.Cache: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class javax.swing.JFrame
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsEnvironment
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class javax.swing.JFrame
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsConfiguration
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class javax.swing.JFrame
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.Container
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class javax.swing.JFrame
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced method 'void dispose()' in program class com.sun.pdfview.FullScreenWindow$PickMe
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsEnvironment
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsConfiguration
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.Container
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class javax.swing.JFrame
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class javax.swing.JComponent
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsEnvironment
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.DisplayMode
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsConfiguration
Warning:com.sun.pdfview.FullScreenWindow: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class javax.swing.JFrame
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced method 'void setUndecorated(boolean)' in program class com.sun.pdfview.FullScreenWindow$PickMe
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class javax.swing.JButton
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class javax.swing.JButton
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Dimension
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class javax.swing.JButton
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced method 'java.awt.Container getContentPane()' in program class com.sun.pdfview.FullScreenWindow$PickMe
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Container
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced method 'void pack()' in program class com.sun.pdfview.FullScreenWindow$PickMe
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.GraphicsConfiguration
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Rectangle
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced method 'void setLocation(int,int)' in program class com.sun.pdfview.FullScreenWindow$PickMe
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced method 'void setVisible(boolean)' in program class com.sun.pdfview.FullScreenWindow$PickMe
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class javax.swing.JFrame
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Dimension
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Container
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.GraphicsConfiguration
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Rectangle
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.GraphicsDevice
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class javax.swing.JButton
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Dimension
Warning:com.sun.pdfview.FullScreenWindow$PickMe: can't find referenced class java.awt.Rectangle
Warning:com.sun.pdfview.FullScreenWindow$PickMe$1: can't find referenced class java.awt.event.ActionListener
Warning:com.sun.pdfview.FullScreenWindow$PickMe$1: can't find referenced class java.awt.event.ActionEvent
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.ImageInfo: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.OutlineNode: can't find referenced class javax.swing.tree.DefaultMutableTreeNode
Warning:com.sun.pdfview.OutlineNode: can't find referenced method 'java.lang.Object getUserObject()' in program class com.sun.pdfview.OutlineNode
Warning:com.sun.pdfview.OutlineNode: can't find referenced method 'void setUserObject(java.lang.Object)' in program class com.sun.pdfview.OutlineNode
Warning:com.sun.pdfview.OutlineNode: can't find referenced class javax.swing.tree.DefaultMutableTreeNode
Warning:com.sun.pdfview.PDFChangeStrokeCmd: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFCmd: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFFile: can't find referenced method 'void add(javax.swing.tree.MutableTreeNode)' in program class com.sun.pdfview.OutlineNode
Warning:com.sun.pdfview.PDFFile: can't find referenced method 'javax.swing.tree.TreeNode getParent()' in program class com.sun.pdfview.OutlineNode
Warning:com.sun.pdfview.PDFFile: can't find referenced class java.awt.geom.Rectangle2D$Double
Warning:com.sun.pdfview.PDFFile: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFFillAlphaCmd: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFFillPaintCmd: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.DataBufferByte
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.Raster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.DataBufferInt
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.PackedColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorConvertOp
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.color.ColorSpace
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorConvertOp
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageIO
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageReader
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageIO
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageReader
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageReadParam
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.Point
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.Raster
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageReadParam
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageReader
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.Raster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.RasterFormatException
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.IndexColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.color.ICC_ColorSpace
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.WritableRaster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.IndexColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.Raster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.color.ColorSpace
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageIO
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.WritableRaster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.color.ColorSpace
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.WritableRaster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.WritableRaster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorConvertOp
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageReadParam
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.SampleModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.WritableRaster
Warning:com.sun.pdfview.PDFImage: can't find referenced class javax.imageio.ImageReader
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.WritableRaster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.RasterFormatException
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.IndexColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.DataBuffer
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.SampleModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.WritableRaster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorConvertOp
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorModel
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.color.ColorSpace
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.WritableRaster
Warning:com.sun.pdfview.PDFImage: can't find referenced class java.awt.image.ColorModel
Warning:com.sun.pdfview.PDFImage$DecodeComponentColorModel: can't find referenced method 'int getAlpha(java.lang.Object)' in program class com.sun.pdfview.PDFImage$DecodeComponentColorModel
Warning:com.sun.pdfview.PDFImage$DecodeComponentColorModel: can't find referenced class java.awt.color.ColorSpace
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.ComponentColorModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced field 'int pixel_bits' in program class com.sun.pdfview.PDFImage$PdfComponentColorModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced method 'int getNumComponents()' in program class com.sun.pdfview.PDFImage$PdfComponentColorModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.PixelInterleavedSampleModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced method 'int getTransferType()' in program class com.sun.pdfview.PDFImage$PdfComponentColorModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.PixelInterleavedSampleModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced method 'int getPixelSize()' in program class com.sun.pdfview.PDFImage$PdfComponentColorModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.MultiPixelPackedSampleModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.Raster
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.SampleModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.ComponentColorModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.Raster
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.SampleModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.color.ColorSpace
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.SampleModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.Raster
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.SampleModel
Warning:com.sun.pdfview.PDFImage$PdfComponentColorModel: can't find referenced class java.awt.image.Raster
Warning:com.sun.pdfview.PDFImageCmd: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D$Double
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.Dimension
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.AffineTransform
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.AffineTransform
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.Dimension
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.image.ImageObserver
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.Image
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.image.ImageObserver
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.image.ImageObserver
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.Image
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.image.ImageObserver
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.image.BufferedImage
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.AffineTransform
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.AffineTransform
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.AffineTransform
Warning:com.sun.pdfview.PDFPage: can't find referenced class java.awt.geom.GeneralPath
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Graphics2D
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.geom.GeneralPath
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Shape
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Graphics2D
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.geom.GeneralPath
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Shape
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Paint
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Color
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Paint
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Graphics2D
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.geom.GeneralPath
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.geom.Rectangle2D
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.Graphics2D
Warning:com.sun.pdfview.PDFPaint: can't find referenced class java.awt.geom.GeneralPath

Proguard:

    #keep json classes                
 -keepclassmembernames class * extends com.applozic.mobicommons.json.JsonMarker {
    !static !transient <fields>;
 }

 -keepclassmembernames class * extends com.applozic.mobicommons.json.JsonParcelableMarker {
    !static !transient <fields>;
 }
 #GSON Config          
-keepattributes Signature          
-keep class sun.misc.Unsafe { *; }           
-keep class com.google.gson.examples.android.model.** { *; }            
-keep class org.eclipse.paho.client.mqttv3.logging.JSR47Logger { *; } 
-keep class android.support.** { *; }
-keep interface android.support.** { *; }

-dontwarn sun.misc.Unsafe.**
-dontwarn com.google.gson.examples.android.model.**
-dontwarn org.eclipse.paho.client.mqttv3.logging.JSR47Logger.**
-dontwarn android.support.**
-dontwarn android.support.**

-keep class com.sun.pdfview.**{ *; } 
-dontwarn com.sun.pdfview.** 

-keep class test.**{ *; }
-dontwarn test.**

建立:

release {
            debuggable false
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            debuggable true
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }

我已在调试模式下启用了proguard文件,仅用于测试.我能够找出问题所在.

也使用Applozic chat gradle依赖项.

编辑:-更新了Proguard文件.

解决方法:

在您的proguard文件中添加此行.

> -dontwarn sun.misc.Unsafe {*;}
> -dontwarn com.google.gson.examples.android.model.**
> -dontwarn org.eclipse.paho.client.mqttv3.logging.JSR47Logger.**
> -dontwarn android.support.**
> -dontwarn android.support.**

标签:proguard,android-proguard,android,applozic
来源: https://codeday.me/bug/20191112/2023882.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有