radar-prmt-android
radar-prmt-android copied to clipboard
Problems with dependencies when building the app
Hi,
I work for imec and I will probably write the plugin for the ChillPlus device. I'm trying to get the app up & running, but there are a lot of build problems:
-
Conflicts of androidX & the old support libraries. I've tried updating to androidX, but noticed that the login library, using zxing (which uses support lib) is the problem.
-
Empatica library is not resolved
-
Fabric plugin is outdated & needs to be updated to 1.28.0
Kind regards, Wesley
Hi, thanks for trying this out. To address your issues one by one:
- So far we've gotten by using the following
gradle.properties
arguments:
I'll update those in the repository as well.org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 android.useAndroidX=true android.enableJetifier=true
- Empatica library is proprietary and it can be downloaded by becoming an Empatica Developer, see the Empatica plugin README for more information. The plugin can be commented out in the
build.gradle
and removed fromapp/src/main/java/org/radarbase/detail/RadarServiceImpl.kt
plugin list to avoid this dependency. - I'll update the Fabric plugin version.
Thank you for your quick input! Apparently using useAndroidX only wasn't enough & enableJetifier did the trick!
Having these in the repository would help indeed!