-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android project not found #33835
Comments
Did the problem work out? |
The same thing happened to me today, I also can't find a solution to this problem |
The project I created for the first time yesterday is available, but the one I created today is not available |
Same here. |
same here |
1 similar comment
same here |
Do you guys have any temporary solutions |
I have same problem. Few days ago everything works ok. After typing: |
"project": { Here? Can it be solved? |
@shxinlei Yep, here. I have no clue what to do. I wast half a day today. |
having the same issue with expo new projects |
even in react native cli, the error is still the same |
I encountered the exact same issue today when creating new projects, older projects are still fine. Edit: It seems like the path config issue isn't present on my Mac but I've not tried running it yet. |
Same here |
having the same issue with react native new projects |
I'm also facing the same issue. Any solution? |
Is this bug in react-native? Is Facebook will solve it or do we have to find a solution? |
Same here |
My life is ruined |
Mark Zuckerberg's birthday today, maybe tomorrow he'll fix this problem ✌️ |
Maybe😁 |
same problem here 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 Any one know how fix it? package.json |
Same problem here. I have been troubleshooting for 5 hours, nothing works. Older projects still works, but every new project throws up that error. I noticed that the 'build' folder is missing from android/app/. |
I also faced the same issue today. Yesterday, I created a project on Windows for android and it worked but today when I started a new project same issue occurred. |
Same Here not able to start the android |
C:\Users\haris\Desktop\ReactNative\newair>npm run android
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 npm ERR! A complete log of this run can be found in: |
same issue here |
@THEG77 try install jdk-11. It worked for me |
Hey, yeah that should work. |
Thanks very much! |
Hello, this doesn't clear up things. Where will I put |
delete also package-lock.json file |
Add "overrides" : {"glob" : "7.2.0"} Then delete |
Thank you! It fixed my problem!! |
delete node_modules npm i glob@7.2.0 npm install npm run android solved for me |
Why the glob@7.2.0 .......... latest reactnative update or fix? |
valeu, deu certo aqui, achei que havia algum problema no pc até formatei ele kkk |
Ty guys solucionated |
It works for me, Thank you so much. |
Yeah its also worked for me thank you so much |
not work solution |
Updating Android Studio and the JDK to 18 helped me |
the android studio not see android folder at an android project like it used to? anyone have ideal why? |
|
yeah works for now, thanks you for any solution |
Remove the android folder then run |
I fixed same issue by |
Description
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(R) Core(TM) 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
The text was updated successfully, but these errors were encountered: