Wrong (or at least not descriptive) "error Android project not found" msg
See original GitHub issueDescription
A badly formatted AndroidManifest file will make react-native run-android
fail with the following message:
error Android project not found. Are you sure this is a React Native project? If your Android files are located in a non-standard lo
cation (e.g. not inside 'android' folder), consider setting `project.android.sourceDir` option to point to a new location
It will be very useful to either point to the actual error or just say that it could not run for some reason without giving a wrong reason.
React Native version:
Binaries: Node: 14.3.0 - /usr/bin/node Yarn: 1.22.4 - /usr/bin/yarn npm: 6.14.5 - /usr/bin/npm Watchman: 4.9.0 - /usr/bin/watchman SDKs: Android SDK: API Levels: 28, 29 Build Tools: 28.0.3, 29.0.2, 29.0.3 System Images: android-29 | Google APIs Intel x86 Atom npmPackages: react: 16.11.0 => 16.11.0 react-native: 0.62.2 => 0.62.2 npmGlobalPackages: react-native: 0.60.5
Steps To Reproduce
- Open
android/app/src/main/AndroidManifest.xml
- Add some random mistakes
- Try to run
react-native run-android
Great project and thank you very much for your hard work!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:12
- Comments:7
Top Results From Across the Web
Wrong (or at least not descriptive) "error Android project not ...
Description A badly formatted AndroidManifest file will make react-native run-android fail with the following message: error Android project ...
Read more >Android project not found. Maybe run react-native android first?
This error simply means you don't have 'android' and 'ios' folders in your root directory of ...
Read more >Shrink, obfuscate, and optimize your app - Android Developers
Code shrinking (or tree-shaking): detects and safely removes unused classes, fields, methods, and attributes from your app and its library dependencies (making ...
Read more >HTTP status and error codes for JSON | Cloud Storage
An HTTP status code value, without the textual description. Example values include: 400 (Bad Request), 401 (Unauthorized), and 404 (Not Found).
Read more >Admin Authentication API Errors | Firebase - Google
The error message should contain the response from the Authentication ... auth/project-not-found, No Firebase project was found for the credential used to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Indeed I got lost for a few minutes because of this. Thanks a lot!
Encountered the same message. Had ” instead of " in AndroidManifest.xml. Spent a good while looking until I found this discussion. Thanks!