0
Я использую зависимость jackson-json в проекте Android и создаю Signed Apk в режиме выпуска, я получаю следующие ошибки: :Android Studio: предупреждение при генерации подписанного Apk в режиме деблокирования Предупреждение: com.fasterxml.jackson.databind
Warning:com.fasterxml.jackson.databind.ext.DOMSerializer: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.beans.Transient
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.beans.ConstructorProperties
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.nio.file.Path
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.beans.Transient
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.beans.ConstructorProperties
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.beans.Transient
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.beans.ConstructorProperties
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.beans.Transient
Warning:com.fasterxml.jackson.databind.ext.Java7SupportImpl: can't find referenced class java.beans.ConstructorProperties
Warning:com.fasterxml.jackson.databind.ext.NioPathDeserializer: can't find referenced class java.nio.file.Path
Warning:com.fasterxml.jackson.databind.ext.NioPathDeserializer: can't find referenced class java.nio.file.Paths
Warning:com.fasterxml.jackson.databind.ext.NioPathDeserializer: can't find referenced class java.nio.file.Path
Warning:com.fasterxml.jackson.databind.ext.NioPathSerializer: can't find referenced class java.nio.file.Path
Warning:there were 26 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
Information:BUILD FAILED
Information:Total time: 17.808 secs
Information:1 error
Information:16 warnings
Thanks @ A.A. , он сгенерирует подписанный APK успешно, но когда я запускаю подписанное приложение apk, он дает следующую ошибку: 'Exception java.lang.RuntimeException: Произошла ошибка при выполнении doInBackground() android.os.AsyncTask $ 3.done (AsyncTask.java:300) java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:355) java.util.concurrent.FutureTask.setException (FutureTask.java:222) java.util.concurrent.FutureTask.run (FutureTask.java: 242) java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112) java.util.concurrent.ThreadPoolExecutor $ Worker.run' –
в продолжении. Кроме того, протекающего ошибки 'Вызванный java.lang.NoSuchFieldError: PUBLIC_ONLY java.lang.Class.getDeclaredAnnotation (Class.java) java.lang.Class.getAnnotation (Class.java:290) com.fasterxml.jackson. databind.introspect.VisibilityChecker $ Std.() com.fasterxml.jackson.databind.ObjectMapper. () com.doctorstay.abdoInBackground() android.os.AsyncTask $ 2.call (AsyncTask.java:288) java.util.concurrent.FutureTask.run (FutureTask.java:237) java.util. concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112) ' –
это дает ту же ошибку –