Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I did all the prerequisites for using
react native
on Windows and created the project by executing the
npx react-native init myplatform
command but I encountered the following error after the
npx react-native run-android
command and couldn't believe my eyes because some time ago it was running on the system without any problems.
react native version : 0.63.4
–
–
–
This error is because of your gradlew.bat file is corrupt try add new one then try again.
you can find new file from react native github
gradlew.bat
try this!
–
–
–
miss gradlew shell script
miss debug.keystore (optional)
match downloaded SDK version, if NDK needed, do the same process
example build.gradle
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
ndkVersion = "20.1.5948944"
kotlin_version = "1.3.50"
kotlinVersion = "$kotlin_version"
androidXCore = "1.6.0"
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.