首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >找不到(androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) swiperefreshlayout.jar

找不到(androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) swiperefreshlayout.jar
EN

Stack Overflow用户
提问于 2020-02-29 15:49:43
回答 2查看 1.1K关注 0票数 5

我正在尝试react-native run-android有这个问题吗?

代码语言:javascript
复制
Could not resolve all files for configuration ':react-native-screens:debugCompileClasspath'.
Could not find swiperefreshlayout.jar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0)
EN

回答 2

Stack Overflow用户

发布于 2020-03-13 23:12:46

我通过为导航x5更改以下内容来修复它:

androidx.swiperefreshlayout:swiperefreshlayout:1.0.0

.\node_modules\react-native-screens\android\build.gradel

更改的版本

代码语言:javascript
复制
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'

代码语言:javascript
复制
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-beta01'
票数 5
EN

Stack Overflow用户

发布于 2020-02-29 19:01:23

添加到android/app/build.gradle

代码语言:javascript
复制
dependencies {
  ...
  implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
  implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02'
}

参考:https://github.com/software-mansion/react-native-screens#usage-with-react-navigation-without-expo

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60463067

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档