我一直在試圖打開一個現有的Android項目,但我得到它的Android清單錯誤:Android清單不匹配的標籤
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.one.piano"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.evilduck.piano.PianoDemoActivity"
android:label="@string/app_name" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
的錯誤是:
Error:(25, -1) Android Resource Packaging: [custom_view_keyboard-master] C:\Users\user\Desktop\oneapp.idea\AndroidManifest.xml:25: error: Error parsing XML: mismatched tag
這似乎是最後一行的最後一個「活動」。
編輯:
值 - >字符串:從活動標籤
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Piano Showcase</string>
<string name="action_settings">Settings</string>
<string name="remove">Remove</string>
<string name="scale">Scale</string>
</resources>
對不起錯誤地放置編輯。我一直在使用Stack幾天。 –
我認爲你的值文件夾有一些問題 –