修复INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

时间:2014-06-26 20:39:13

标签: android android-manifest fixed

在网上搜索了三个小时后,我找不到我的应用程序的解决方案,我遇到了一个错误:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED ..任何帮助!顺便说一句,我之前尝试过测试它,效果很好!!有什么建议吗?

这是清单文件:

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="19" />

<application
    android:allowBackup="true"
    android:icon="@drawable/icon"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" android:name="">
    <activity
        android:name="com.abdullahadhaim.itc.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>
    <activity
        android:name="com.google.ads.AdActivity"
        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
    <activity
        android:name="com.abdullahadhaim.itc.Two"
        android:label="@string/title_activity_two" >
    </activity>
    <activity
        android:name="com.abdullahadhaim.itc.Three"
        android:label="@string/title_activity_three" >
    </activity>
    <activity
        android:name="com.abdullahadhaim.itc.Four"
        android:label="@string/title_activity_four" >
    </activity>
    <activity
        android:name="com.abdullahadhaim.itc.Five"
        android:label="@string/title_activity_five" >
    </activity>
    <activity
        android:name="com.abdullahadhaim.itc.Six"
        android:label="@string/title_activity_six" >
    </activity>
    <activity
        android:name="com.abdullahadhaim.itc.Seven"
        android:label="@string/title_activity_seven" >
    </activity>
    <activity
        android:name="com.abdullahadhaim.itc.Eight"
        android:label="@string/title_activity_eight" >
    </activity>
    <activity
        android:name="com.abdullahadhaim.itc.End"
        android:label="@string/title_activity_end" >
    </activity>
</application>

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

1 个答案:

答案 0 :(得分:1)

您的清单文件看起来缺少这些行:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.abdullahadhaim.itc"
          android:versionCode="1"
          android:versionName="1.0">

尝试添加它们,然后清理项目并构建它