I get the following error when trying to build a React Native project:
BUILD FAILED in 6serror Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
- What went wrong:Could not determine the dependencies of task ':app:mergeDebugAssets'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.Could not find com.google.firebase:firebase-iid:.Required by:project :app
I have tried to solve it by reinstalling the Firebase package, but it keeps showing me the error and the compilation cannot be finished