Интеграция HAPI-FHIR в Android
Интеграция HAPI FHIR в Android с использованием Retrofit. работает в сборках отладки, но сталкивается с проблемой сборки выпуска
добавлена реализация 'ca.uhn.hapi.fhir: hapi-fhir-android: 5.4.2' реализация 'ca.uhn.hapi.fhir: hapi-fhir -structure-r4:5.4.2'
E / AndroidRuntime: FATAL EXCEPTION: main
java.lang.IllegalStateException: Could not find the HAPI-FHIR structure JAR on the classpath for version R4. Note that as of HAPI-FHIR v0.8, a separate FHIR strcture JAR must be added to your classpath (or project pom.xml if you are using Maven)
at ca.uhn.fhir.context.FhirContext.<init>(Unknown Source:114)
at ca.uhn.fhir.context.FhirContext.<init>(Unknown Source:1)
at ca.uhn.fhir.context.FhirContext.forR4(Unknown Source:4)
at e.f.a.m0.a.a.a(:12)
at androidx.lifecycle.LiveData.b(Unknown Source:29)
at androidx.lifecycle.LiveData.c(Unknown Source:44)
at b.s.q.h(:1)
at e.p.a.c$c.b(:2)
at m.b.run(:1)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7562)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)