我正在使用Android Studio进行React Native项目开发。在Xcode上运行正常,但在AS中出现了一堆我不熟悉的错误:
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :react-native-firebase.
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :react-native-firebase.
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :react-native-firebase.
Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve project :react-native-firebase.
Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve project :react-native-firebase.
假设我需要在某处运行类似于npm install的东西?或者在 React Native Firebase 中添加一些内容?或者删除它?
奇怪的是,React Native Firebase 根本不在我的 pkg json 依赖中。我只是使用 Web API - 它只存在于 Android Studio 中。
需要帮助吗?