加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

React-native依赖性错误(com.atlassian.mobile.video okhttp-ws-

发布时间:2020-12-15 06:24:07 所属栏目:百科 来源:网络整理
导读:我正在开发一个React-native应用程序,突然间我开始收到以下错误: What went wrong: A problem occurred configuring project ‘:app’. Could not resolve all dependencies for configuration ‘:app:_debugApk’. A problem occurred configuring projec
我正在开发一个React-native应用程序,突然间我开始收到以下错误:
  • What went wrong:
    A problem occurred configuring project ‘:app’.
    Could not resolve all dependencies for configuration ‘:app:_debugApk’.
    A problem occurred configuring project ‘:react-native-config’.
    Could not resolve all dependencies for configuration ‘:react-native-config:_debugPublishCopy’.
    Could not find com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1.
    Required by:
    cabm8:react-native-config:unspecified > com.facebook.react:react-native:0.42.3-atlassian-1

我摆脱了模块react-native-config但仍面临类似的错误:

  • What went wrong:
    A problem occurred configuring project ‘:app’.
    Could not resolve all dependencies for configuration ‘:app:_debugApk’.
    A problem occurred configuring project ‘:react-native-maps’.
    Could not resolve all dependencies for configuration ‘:react-native-maps:_debugPublishCopy’.
    Could not find com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1.
    Required by:
    cabm8:react-native-maps:unspecified > com.facebook.react:react-native:0.42.3-atlassian-1

这个问题似乎与com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1有关。

我已经尝试重新安装node_modules,删除文件夹android和ios然后使用git恢复它们。我还能尝试什么?

com.atlassian.mobile.video现在不能在maven上使用。要运行项目,您需要更新它

将您的react和react-native版本更新到package.json文件中

"react": "16.0.0-alpha.3","react-native": "0.43.1",

然后删除node_modules并再次执行npm安装

请让我知道这对你有没有用

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读