react-native无法生成apk-lib依赖于一个或多个Android库,但是是一个jar

时间:2019-09-15 20:14:55

标签: android react-native gradlew

我正在尝试测试此应用程序的考试级别:

因此,我已按照以下步骤操作:

git clone https://github.com/furkanom/react-native-obd2
cd react-native-obd2
npm install
cd example
npm install
./gradlew assembleDebug

然后我得到这个错误:

...
: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

由于我是React-native和Java的新手,所以我不知道发生了什么。

有人可以帮忙吗?

我只想编译并通过APK在设备中进行测试。

0 个答案:

没有答案