本文介绍了Android Studio 2.2更新后,任务“:app:processDebugManifest"的执行失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:任务':app:processDebugManifest'的执行失败.

Error:Execution failed for task ':app:processDebugManifest'.


清单文件:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.droid.bdapp.test">


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


    <application
        android:name="com.test.app.app.AppBaseApplication"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/facebook_app_id" />

        <activity
            android:name="com.facebook.FacebookActivity"
            android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
            android:label="@string/app_name"
            android:theme="@android:style/Theme.Translucent.NoTitleBar" />

        <activity android:name="com.test.app.ui.activities.WelcomeActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name="com.test.engine.reader.view.test5"
            android:label="@string/app_name"
            android:theme="@style/AppTheme"></activity>

        <activity android:name="com.test.app.ui.activities.test1" />
        <activity android:name="com.test.app.ui.activities.test2" />
        <activity android:name="com.test.app.ui.activities.test3" />
        <activity android:name="com.test.app.ui.activities.test4" />
    </application>

</manifest>

推荐答案

这不是Android Studio 2.2的升级问题,而是昨天发布的FB SDK.目前,一种解决方案是在 build.gradle 中恢复到以前的FB SDK:

It's not Android Studio 2.2 upgrade issue, it's FB SDK released yesterday.For now a solution is to revert to previous FB SDK in build.gradle:

dependencies {
    // ...
    compile 'com.facebook.android:facebook-android-sdk:4.15.0'
}

这对我有用,将在FB支持上跟踪更改日志和错误列表,以查看正确的解决方案.

This worked for me, will track the change log and bug list on FB support to see the proper solution.

这篇关于Android Studio 2.2更新后,任务“:app:processDebugManifest"的执行失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 17:42