今天同步完svn项目,运行react native时遇到一个问题
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的解决方案,于是我试着升级react native版本(其实并没有更改版本 只是输了一下升级代码) 好像暂时解决了这个问题
react-native upgrade
升级代码↑