The code in Androidmanifest.xml is as follows:
<pre name= "code" class= "java" ><manifest xmlns:android= "Http://schemas.android.com/apk/res/android" Package= "Com.example.myfirstapp" android:versioncode= "1" android:versionname= "1.0" ><USES-SDK android: minsdkversion= "One" android:targetsdkversion= "/><application android:icon=" @drawable/ic_launcher "Androi D:label= "@string/app_name" android:theme= "@style/apptheme" > <activity android:name= ". Mainactivity "android:label=" @string/title_activity_main "> <intent-filter> <action A Ndroid:name= "Android.intent.action.MAIN"/> <category android:name= "Android.intent.category.LAUNCHER"/&G T </intent-filter> </activity> <activity android:name= "Com.example.myfirstapp.DisplayMessageActi Vity "android:label=" @string/title_activity_display_message "Android:parentactivityname=" Com.example.myfirs Tapp. Mainactivity "> <meta-data andRoid:name= "Android.support.PARENT_ACTIVITY" android:value= "com.example.myfirstapp.MainActivity"/> </a Ctivity></application>
This error occurs when you import a project:No Resource Identifier found for attribute ' parentactivityname ' on package ' Android '
It took a long time to know android:parentActivityName
it was Android 4.1 (API level 16). So change the SDK to 16 or later.
No Resource Identifier found for attribute ' parentactivityname ' on package ' Android '