I'm trying to test this app examploe:
So I've followed these steps:
git clone https://github.com/furkanom/react-native-obd2
cd react-native-obd2
npm install
cd example
npm install
./gradlew assembleDebug
And then I'm getting this error:
...
:react-native-dialogs:prepareComFacebookFrescoImagepipeline081Library
:react-native-dialogs:prepareComFacebookFrescoImagepipelineOkhttp081Library
:react-native-dialogs:prepareComFacebookReactReactNative0201Library
:react-native-dialogs:prepareOrgWebkitAndroidJscR174650Library
:react-native-dialogs:prepareReleaseDependencies
Module 'com.github.afollestad.material-dialogs:commons:0.8.6.2' depends on one or more Android Libraries but is a jar
:react-native-dialogs:prepareReleaseDependencies FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-dialogs:prepareReleaseDependencies'.
> Dependency Error. See console for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
As I'm a newbie in react-native and java, I have no clue on what is happening.
Can someone help?
I just want to compile and APK to test it in device.