I tried to add this library: https://github.com/WojciechZankowski/iextrading4j into android studio, it is a library to retrieve realtime stock data from the IEXTrading API but when I did, or atleast I think I imported it the right way, I got a bunch of errors like MultiDex errors
and findbugs:jsr305:1.3.9
.
I tried to use the release version 2.1.1
, then 2.0.1
. Can someone please walk me through the process of how to set it up?
Error:
Error:Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
java.io.IOException: Can't write [C:\Users\Ashwin\AndroidStudioProjects\sockettesting\app\build\intermediates\multi-dex\debug\componentClasses.jar] (Can't read [C:\Users\USER\AndroidStudioProjects\sockettesting\app\build\intermediates\transforms\desugar\debug\49.jar(;;;;;;**.class)] (Duplicate zip entry [49.jar:javax/inject/Inject.class]))
I've tried searching for answers on how to solve these errors but I got nowhere, I tried multiDexEnable true
in gradle and more.