Skip to content
This repository was archived by the owner on Oct 7, 2021. It is now read-only.
This repository was archived by the owner on Oct 7, 2021. It is now read-only.

error Android project not found. #69

@jasontumusiime

Description

@jasontumusiime

When I used this package, my main AndroidManifest.xml was modified and the opening <Application> tag was deleted so I kept on getting the following error on $npx react-native 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 'project.android.sourceDir' option to point to a new location. Run CLI with --verbose flag for more details.

I tried $npx react-native upgrade as a suggested solution and it too failed with the following error:

error Unexpected close tag
Line: 30
Column: 16
Char: >. Run CLI with --verbose flag for more details.
Error: Unexpected close tag
Line: 30
Column: 16
Char: >
    at error (/.../node_modules/sax/lib/sax.js:651:10)
    at strictFail (/.../node_modules/sax/lib/sax.js:677:7)

I had to revert using git to fix the lost <application...> tag.

react-native: ~0.63.4,
react-native-make: 3.0.3

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions