出现此错误:
Parser exception for C:\Users\Richy\workspace\Networking\AndroidManifest.xml: The element type "application" must be terminated by the matching end-tag "</application>".
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.learn2develop.Networking"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.Networking.MainActivity"
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>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
</manifest>
这让我很生气,因为我想不通。我在这里阅读了关于相同错误的其他问题,但我没有看到我犯了与他们相同的错误。
最佳答案
尝试通过“项目”选项卡从头开始重建项目。
通常选中“自动构建”,但尝试“清理...”然后“确定”。
关于android - Eclipse 声称我缺少 </application> 标记;不知道出了什么问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17369796/