react-native 启动android项目失败:A problem occurred evaluating project ‘:react-native-orientation‘.
错误日志:
* What went wrong:
A problem occurred evaluating project ':react-native-orientation'.
> Could not find method compile() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
解决方法:
报上述问题,是因为生成的本地的node_modules
文件中的react-native-orientation
文件中的->android
中build.gradle
文件中的com.facebook.react:react-native:+
依赖版本太低的问题。
把compile "com.facebook.react:react-native:+"
换成 implementation "com.facebook.react:react-native:+"
即可。
react-native 启动android项目失败:A problem occurred evaluating project ‘:react-native-orientation‘.相关推荐
- idea跑android项目报A problem occurred configuring project ‘:app‘
问题描述 本人idea2019.1.3升级到2019.3跑android项目时报A problem occurred configuring project ':app' 异常信息 A problem ...
- 【Android,gradle】A problem occurred evaluating project ‘:app‘.
A problem occurred evaluating project ':app'. 我们在buildgradle的时候,会遇到这样的问题 A problem occurred evaluati ...
- android studio问题: A problem occurred configuring project ‘:app‘. android ndk location灰色,位置无效,无法更换
android studio问题: A problem occurred configuring project ':app'. android ndk location灰色,位置无效,无法更换 设备 ...
- AndroidStudio 中A problem occurred evaluating project ‘:app‘. > No signature of method:报错
**又是沙雕的一天!**在此记录一个问题警醒自己,顺便告诫大家. ############################ 先说遇见的问题: 今天在复现一个小项目时AndroidStudio莫名其妙的 ...
- A problem occurred evaluating project ':'. ASCII
项目编译出错: 错误信息如下: FAILURE: Build failed with an exception.* Where: Build file 'F:\git\i***\build.gradl ...
- * What went wrong:A problem occurred evaluating project ‘:app‘.> Failed to apply plugin ‘com.andro
问题 * What went wrong: A problem occurred evaluating project ':app'. > Failed to apply plugin 'com ...
- Error:(49, 1) A problem occurred evaluating project ':guideview'. Could not read script 'https://r
出现问题如下: Error:(49, 1) A problem occurred evaluating project ':guideview'. > Could not read script ...
- flutter A problem occurred evaluating project ‘:app‘.报错
先说错误发生环境:我从本地将代码上传github,因为想要与人合作,故先自己拉下来测试一下.结果同样的环境,却仍旧报错运行不起来.经过一天的艰苦奋斗,终于解决~万幸 一下是我的报错信息 去文件中找了一 ...
- 新建arcgis api for android 项目失败
新建ArcGIS Project for Android项目失败解决方案 - skybot的专栏 - 博客频道 - CSDN.NET http://blog.csdn.net/daonidedie/a ...
- 启动Android项目时出现adb]* daemon not running; starting now at tcp:5037
error1 启动Android项目时出现adb]* daemon not running; starting now at tcp:5037 是由于5037端口被占用 打开命令行输入 netstat ...
最新文章
- 速卖通关键词挖掘工具_网站优化必备的关键词挖掘工具
- android版本号和对应的API等级
- Sandbox 文件存放规则
- stm32中用到的实时系统_适合STM32的三大嵌入式操作系统。
- 某资深程序员写给后来者的忠告
- spark on yarn 完全分部署_大数据Spark面试题(一)
- Maven内置常量/环境变量的获取
- java 调 cmd 没反应
- D-query SPOJ - DQUERY (主席树)
- [转]hadoop新手错误解决方法
- Java 中 Vector、ArrayList、List 使用深入剖析
- 面向对象技术之系统分析:类图
- 香草 jboss 工具_使用Tensorflow创建香草神经网络
- LeetCode常见题型——背包问题
- java判断今天是否是节假日_java 判断日期是否是节假日
- 深信服 SANGFOR 设备密码恢复和配置备份恢复
- JNI 方法大全及使用示例
- 上班族们都有哪些一直坚持的业余兴趣爱好?
- 计算机数值怎么看大小,笔记本电脑尺寸怎么看_笔记本电脑尺寸查询
- 用project做项目计划之 项目成本、预算、基线工期、基线成本、基线时间