React-native dependency error (com.atlassian.mobile.video okhttp-ws-compat)

后端 未结 6 1962
走了就别回头了
走了就别回头了 2020-12-28 15:07

I\'m developing a React-native app and all of a sudden I started getting the following error:

  • What went wrong: A problem occurred configurin
6条回答
  •  被撕碎了的回忆
    2020-12-28 15:51

    in your root build.Gradle force all dependencies to a specific version.

    allprojects {
     configurations.all {
       resolutionStrategy {
         eachDependency { DependencyResolveDetails details ->
           if (details.requested.group == 'com.facebook.react' && details.requested.name == 'react-native') {
             details.useVersion "0.40.0" // Your React Native version here
           }
         }
       }
     }
      }
    

提交回复
热议问题