Welcome Guest.

1Answers

Android:label and name error in AndroidManifest.xml

Asked by: Roger 205 views IT December 25, 2018

Android:label="@string/app_name">Error in AndroidManifest.xml

 <activity android:name=".MainActivity" >  Error

code is as follows:

<application    android:allowBackup="true"    android:icon="@mipmap/ic_launcher"    android :label="@string/app_name"    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>

1 Answers

  1. +6Votes  

    There may be no successful saving of string.xml first, resulting in the androidmanifest.xml can not get the reference, the error

    may be limited to the reference (it seems that there is no, the specific is not clear)

    Recommended to rewrite, re-save, close files and projects, try again~

    Patrick Allen- December 26, 2018 |