Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with dependencies when building the app #105

Open
hwesley opened this issue Apr 22, 2020 · 2 comments
Open

Problems with dependencies when building the app #105

hwesley opened this issue Apr 22, 2020 · 2 comments

Comments

@hwesley
Copy link

hwesley commented Apr 22, 2020

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

@hwesley hwesley changed the title AndroidX & support library conflicts Problems with dependencies when building the app Apr 22, 2020
@blootsvoets
Copy link
Collaborator

blootsvoets commented Apr 22, 2020

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:
    org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
    android.useAndroidX=true
    android.enableJetifier=true
    I'll update those in the repository as well.
  • 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 from app/src/main/java/org/radarbase/detail/RadarServiceImpl.kt plugin list to avoid this dependency.
  • I'll update the Fabric plugin version.

@hwesley
Copy link
Author

hwesley commented Apr 22, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants