Error Androidmanifest.Xml Doesn't Exist or Has Incorrect Root Tag

Error AndroidManifest.xml doesn't exist or has incorrect root tag

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>

Android Studio: Android Manifest doesn't exists or has incorrect root tag

On Android Studio v0.8.2 clicking on Sync project with Gradle files button solved my problem.

Screenshot of Android Studio toolbar with "Sync project with Grandle files" button highlighted.

update

Thanks to the comment of jaumard. If the Sync project with Gradle files it's not visible you have to open the Gradle panel and click sync icon on top the toolbar.



Related Topics



Leave a reply



Submit