您好,欢迎来到伴沃教育。
搜索
您的当前位置:首页React Native 运行react-native run-

React Native 运行react-native run-

来源:伴沃教育

运行react-native run-android报错Configuration with name 'default' not found.

报错原因:

unlink三方库出现错误

解决方式:

方式一:

将node_modules目录删掉,重新执行npm install安装依赖库

rm -rf node_modules && npm install

方式二:

将有问题的三方库配置去掉

包含文件

(1)android/app/bulid.gradle

(2)android/setting.gradle

(3)MainApplication.java

Copyright © 2019- bangwoyixia.com 版权所有 湘ICP备2023022004号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务