Ejecting Expo is throwing me errors about installDebug

i recently ejected expo from my app, and i ran npx react-natice run-android. But I am facing the error:

Could not determine the dependencies of task ‘:app:installDebug’. Failed to find Platform SDK with path: platforms;android-30 error Failed to install the app. Make sure you have the Android development environment set up: Setting up the development environment · React Native accountant. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

I am using react native version .64 and I am using the right sdk version(29.0.2) but its still throwing me errors. How do I fix this? My IDE is VS Code btw. I did gradlew clean, I changed my sdk version to 30, I reinstalled node modules, i reinstalled android and ios folders but the errors are still there. After changing the version to 30, it says “> Failed to find Build Tools revision 29.0.2”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.