1. 程式人生 > >React native Configuration with name 'default' not found.

React native Configuration with name 'default' not found.

reac sharp key nat gap all config IT resolve

添加插件後出現異常

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.