Android project not found
See original GitHub issueDescription
error Android project not found. Are you sure this is a React Native project? If your Android files are located in a non-standard location (e.g. not inside ‘android’ folder), consider setting project.android.sourceDir
option to point to a new location.
info Run CLI with --verbose flag for more details.
Version
0.68.2
Output of npx react-native info
System: OS: Windows 10 10.0.19042 CPU: (6) x64 Intel® Core™ i5-8400 CPU @ 2.80GHz Memory: 6.21 GB / 15.88 GB Binaries: Node: 14.19.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.15 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.14.16 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: Not Found Windows SDK: Not Found IDEs: Android Studio: Version 3.4.0.0 AI-183.6156.11.34.5522156 Visual Studio: 17.1.32319.34 (Visual Studio Community 2022) Languages: Java: 1.8.0_312 - C:\Program Files\OpenJDK\openjdk-8u312-b07\bin\javac.EXE npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.2 => 0.68.2 react-native-windows: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
bug
Snack, code example, screenshot, or link to a repository
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:80
Top GitHub Comments
Hello everyone. I check this https://github.com/react-native-community/cli/issues/1608#issuecomment-1126581017 and solved with:
"resolutions": { "glob": "7.2.0" }
npm install
And you may vote this result on stackoverflow https://stackoverflow.com/questions/72239857/react-native-android-project-not-found/72241166#72241166
If this is not work please install glob with
npm i glob@7.2.0
Mark Zuckerberg’s birthday today, maybe tomorrow he’ll fix this problem ✌️