These are the errors when running "npx react-native run-android"
rror Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build completed with 2 failures. 1: Task failed with an exception.
- Where: Script '/home/modou/Desktop/northcoders/projects/test-RN/Bot-Spotter/node_modules/expo-modules-autolinking/scripts/android/autolinking_implementation.gradle' line: 272
- What went wrong: A problem occurred evaluating project ':expo'.
A problem occurred configuring project ':expo-modules-core'. Failed to notify project evaluation listener. > NDK at /home/modou/Android/Sdk/ndk/21.1.6352462 did not have a source.properties file > Could not get unknown property 'release' for SoftwareComponentInternal set of type org.gradle.api.internal.component.DefaultSoftwareComponentContainer.
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ============================================================================== 2: Task failed with an exception.
- What went wrong: A problem occurred configuring project ':expo'.
compileSdkVersion is not specified. Please add it to build.gradle
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================