react-native-video:无法读取null的'常量'属性

问题描述 投票:1回答:1

我正在尝试将YouTube视频纳入我的本地反应项目中。由于我已经尝试过react-native-youtube,但根本无法使用,因此我尝试安装react-native-video

但是,出现以下错误:enter image description here

我尝试过:删除我的node_modules和npm i,然后再次添加react-native链接和react-native链接react-native-video。几次。

我的package.json:

enter image description here

javascript reactjs react-native react-native-android react-native-video
1个回答
0
投票

尝试重新启动系统有时这可以解决问题

© www.soinside.com 2019 - 2024. All rights reserved.