I was working on a local project from scratch which was not on github and it was running successfully. But when i clone a project from github and try to run on android, mostly (not every application cloned from github gives me this error but few big application gives) it gives me error like
Command That I run:
npx react-native run-android
Error that I get:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain