I'm new to android app development with Android Studio and I came across this error when trying to run my app
Error: AndroidManifest.xml doesn't exist or has incorrect root tag
I found out that my AndroidManifest.xml file had some weird characters in it
Can someone please help me out here.. Thanks
Somehow your AndroidManifest get corrupted. AndroidManifest should contain root application details and other project settings like as follows. Please try again by creating new project.
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
Happy to hear that you start to develope app for Android.
And I suggest you can re-create a project, and the problem will disappear.
Have fun.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With