如何删除android的本机启动屏幕依赖项

如何删除android的本机启动屏幕依赖项,android,react-native,Android,React Native,当我为我的react native项目删除react native启动屏幕时 android编译器报告一条错误消息: Unable to find a matching configuration of project :react-native-splash-screen: - None of the consumable configurations have attributes. 如何检查并修复此错误?您可以运行 react-native取消链接react-native启动屏幕 n

当我为我的react native项目删除react native启动屏幕时

android编译器报告一条错误消息:

Unable to find a matching configuration of project :react-native-splash-screen:
  - None of the consumable configurations have attributes.
如何检查并修复此错误?

您可以运行
react-native取消链接react-native启动屏幕


npm卸载react native闪屏很容易。在终端上写下:

步骤-1:反应本机取消链接反应本机启动屏幕

步骤2:转到package.json并删除
react native启动屏幕的行

第3步:npm i


并且其未链接、已卸载和已删除

@yuanlai您可以找到路径并手动删除它,但不建议手动删除,因为可能缺少零件。