Android Warning: com.bbn.openmap.MapBean: can't find referenced class java.awt.geom.Point2D

226 views Asked by At

I am using the openmap library to extract the esri records from shapefile and it is working fine. But when i am building a signed apk using proguard rules, the build execution is failing with a lot of warnings , below are some of the warning that build executions returned:

  1. Warning: com.bbn.openmap.dataAccess.shape.MetaDbfTableModel: can't find referenced class javax.swing.JFrame

  2. Warning: com.bbn.openmap.MapBean: can't find referenced class java.awt.Color

  3. Warning: com.bbn.openmap.MapBean: can't find referenced class java.awt.event.ContainerEvent

every class of com.bbn.openmap package returning warnings

If anyone have any solution please let me know

1

There are 1 answers

1
DKIT On

java.awt and javax.swing are NOT part of Android!

You can't use classes from those libraries.