Fix INSTALL_PARSE_FAILED_MANIFEST_MALFORMED



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

这是Manifest文件:

<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" />

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

<?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">

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

相关内容

  • 没有找到相关文章

最新更新