如何解决我的manifest.xml中的此错误

时间:2019-01-17 16:41:22

标签: javascript format manifest

您好,我是编码的初学者,并且在Android Studio中出现此错误:

  

错误:(25)错误:资源可绘制/横幅(aka   com.group.search_cookies:drawable / banner)。

     

错误:(25)错误:资源可绘制/图标(又名   com.group.search_cookies:drawable / icon)。

     

错误:找不到(25)资源可绘制/横幅(aka com.group.search_cookies:drawable / banner)。

     

错误:找不到(25)资源drawable / icon(又名com.group.search_cookies:drawable / icon)。

     

错误:处理清单失败。

     

错误:java.util.concurrent.ExecutionException:java.util.concurrent.ExecutionException:

     

com.android.tools.aapt2.Aapt2Exception:AAPT2错误:检查日志是否   详细信息

     

错误:java.util.concurrent.ExecutionException:com.android.tools.aapt2.Aapt2Exception:AAPT2错误:检查日志中是否存在   详细信息

     

Error:com.android.tools.aapt2.Aapt2Exception:AAPT2错误:查看日志以获取详细信息

我的manifest是这样的:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.group.search_cookies"
    platformBuildVersionCode="22"
    platformBuildVersionName="5.0.1-1624448"
    android:installLocation="auto" >

    <uses-sdk
        android:minSdkVersion="14"
        android:targetSdkVersion="22" />

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

    <uses-feature android:glEsVersion="0x00020000" />
    <uses-feature
        android:name="android.hardware.telephony"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.screen.portrait"
        android:required="true" />
    <uses-feature
        android:name="android.hardware.screen.landscape"
        android:required="false" />

    <application
        android:banner="@drawable/banner"
        android:debuggable="true"
        android:hardwareAccelerated="true"
        android:icon="@drawable/icon"
        android:label="Find More Cookies" >
        <meta-data
            android:name="targetedAppStore"
            android:value="google" />

        <activity
            android:name="com.ansca.corona.CoronaActivity"
            android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize"
            android:label="Find More Cookies"
            android:launchMode="singleTask"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
            <meta-data
                android:name="supportsOrientationPortrait"
                android:value="true" />
            <meta-data
                android:name="supportsOrientationPortraitUpsideDown"
                android:value="false" />
            <meta-data
                android:name="supportsOrientationLandscapeRight"
                android:value="false" />
            <meta-data
                android:name="supportsOrientationLandscapeLeft"
                android:value="false" />

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.ansca.corona.CameraActivity"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
        <activity
            android:name="com.ansca.corona.VideoActivity"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
        <activity
            android:name="com.ansca.corona.purchasing.StoreActivity"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />

        <provider
            android:name="com.ansca.corona.storage.FileContentProvider"
            android:authorities="com.gmail.group3.search_cookies.files"
            android:exported="true" />

        <service android:name="com.ansca.corona.CoronaService" />

        <receiver android:name="com.ansca.corona.SystemStartupBroadcastReceiver" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
        <receiver android:name="com.ansca.corona.notifications.AlarmManagerBroadcastReceiver" />
        <receiver android:name="com.ansca.corona.notifications.StatusBarBroadcastReceiver" />
        <receiver
            android:name="com.ansca.corona.notifications.GoogleCloudMessagingBroadcastReceiver"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <action android:name="com.google.android.c2dm.intent.REGISTRATION" />

                <category android:name="com.gmail.group3.search_cookies" />
            </intent-filter>
        </receiver>
        <receiver android:name="com.ansca.corona.purchasing.GoogleStoreBroadcastReceiver" >
            <intent-filter>
                <action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
                <action android:name="com.android.vending.billing.RESPONSE_CODE" />
                <action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />
            </intent-filter>
        </receiver>
    </application>

</manifest>

0 个答案:

没有答案