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.的主要内容,如果未能解决你的问题,请参考以下文章