添加Admob后INSTALL_PARSE_FAILED_MANIFEST_MALFORMED错误

时间:2014-03-23 21:24:56

标签: android admob manifest

我的控制台中有一个INSTALL_PARSE_FAILED_MANIFEST_MALFORMED错误,因为我将Admob lib添加到我的项目中,我在互联网上看了好几个小时但是没有人能找到合适的解决方案来解决我的问题希望你可以帮助我对Android应用程序有点新意开发 这是我的清单,我已经尝试从腐败的线条中清除它

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

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

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

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        <activity
            android:name=".MainActivity"
            android:screenOrientation="portrait"
            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=".SettingActivity"
                  android:screenOrientation="portrait">
        </activity>
            <meta-data android:name="com.google.android.gms.version"
                       android:value="@integer/google_play_services_version"/>
    </application>
</manifest>

1 个答案:

答案 0 :(得分:0)

根据 How to fix INSTALL_PARSE_FAILED_MANIFEST_MALFORMED in my android application

Change name package with Caps letters to little letters.

Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED?

Activity name should be prefixed with "." in your manifest file.