Logging backend type ANDROID is not available on the classpath #22
-
Hello! some users of my app, have hot this error when app try to init GeoPackageFactory: Caused by java.lang.IllegalArgumentException How i can deal with this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
I can't figure out why AndroidLogBackendFactory would fail to load in OrmLite for some Android users. I can add an availability check first before setting it. When it is not available, a default available logger should be found. |
Beta Was this translation helpful? Give feedback.
-
That error is occurring when ORMLite is attempting to create a SpatialReferenceSystemDao for the SpatialReferenceSystem DAO class. The daoClass in that error message should be "mil.nga.geopackage.srs.SpatialReferenceSystemDao", but is "ce.b" for some reason. Are they using some sort of obfuscater or app changing securing app? |
Beta Was this translation helpful? Give feedback.
-
Yes, my app uses P8 obfuscation. May be I need to add some rules to proguard-rules.pro? |
Beta Was this translation helpful? Give feedback.
Yes, my app uses P8 obfuscation. May be I need to add some rules to proguard-rules.pro?
This error is now reproduced in two users of my app (Honor 8A Android 9 and Galaxy A31 Android 11). On my device error is not reproducible.
I just recently added the geopackage-android-map library to my app, so my users have no any experience with older versions.