Open jasontumusiime opened 3 years ago
I got the same issue with an expo project ejected to react native and using "react-native set-icon --platform android"
I'm also using a bare Expo project and the Android manifest file got corrupted.
When your Android manifest got corrupted:
git restore --staged android/app/src/main/AndroidManifest.xml
(this unstages the file from git)git checkout android/app/src/main/AndroidManifest.xml
(this puts the file to its original state)
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
:I tried
$npx react-native upgrade
as a suggested solution and it too failed with the following error: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.