微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在React Native中添加Facebook广告后无法构建项目

如何解决在React Native中添加Facebook广告后无法构建项目

我同时使用了react-native-fbadsreact-native-ads-facebook。我还按照安装的所有步骤操作(添加react-native-fbsdk等),但是每当构建项目时,都会出现以下错误

* What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve project :react-native-ads-facebook.
     required by:
         project :app
      > Unable to find a matching configuration of project :react-native-ads-facebook:
          - None of the consumable configurations have attributes.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD Failed in 36s

如何将Facebook广告与本机反应一起使用? 我的本机版本是0.62.2

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。