React native Configuration with name 'default' not found.

Posted 大笨鹰

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了React native Configuration with name 'default' not found.相关的知识,希望对你有一定的参考价值。

添加插件后出现异常

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ‘:app‘.
> Could not resolve all dependencies for configuration ‘:app:_debugApk‘.
   > Configuration with name ‘default‘ not found.

  解决方案是:

react-native upgrade

更新代码

以上是关于React native Configuration with name 'default' not found.的主要内容,如果未能解决你的问题,请参考以下文章

react native 增加react-native-camera

更新 react-native-maps 以使用 create-react-native-app

react native 增加react-native-storage

React-Native 和 Expo:create-react-native-app 和 react-native init 之间的区别

什么是 react-native-cli 和 @react-native-community/cli?

React Native - 当 react-native 版本 > 0.55 时,无法通过 react-native-cli 创建新项目