react-native - 无法解决:support-compat react native video
问题描述
我正在尝试在一个新项目上安装 react-native-video 但是在链接库后,我收到了这个错误:
* What went wrong:
Could not resolve all files for configuration ':react-native-
video:debugCompileClasspath'.
> Could not find support-compat.jar (com.android.support:support-
compat:27.1.1).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/support/support-
compat/27.1.1/support-compat-27.1.1.jar
我已经尝试了类似主题中提到的所有方法,但没有运气
react-native 版本:0.57.8
react-native-video 版本:4
android studio:3.2.1
解决方案
对于临时解决方案,我安装了 react-native-video 版本:3.2.1
推荐阅读
- ajax - AWS S3 代理保存原始表单数据而不是实际文件。为什么?
- java - 在春季批处理中使用 itemProcessor 跳过文件中的错误行
- mysql - 从没有 SUBSTRING_INDEX(GROUP_CONCAT()) 的有序组中选择第一行
- node.js - 无法删除节点模块/
- r - 如何从网页中抓取选定的列表项?
- c# - 从脚本任务“InProcess”启动 SSIS 包
- javascript - CK Editor font-size, font-style, font-type 下拉需要一段时间才会出现
- compilation - Common Lisp 将代码编译并加载到图像中的机制
- sql-server - SQL Server:VAR 值到列名
- android-youtube-api - Android YouTubePlayerView 刚刚停止