2017-07-03 144 views
1

请帮我一把。当曾经我试图建立gradle这个或尝试运行程序得到如下错误: -错误:执行任务':app:processDebugManifest'失败。

Error:Execution failed for task ':app:processDebugManifest'. 
> Manifest merger failed with multiple errors, see logs 

这里是我的build.gradle(应用程序): -

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 25 
    buildToolsVersion "26.0.0" 
    defaultConfig { 
     applicationId "ABC.DEF.GHI" 
     minSdkVersion 15 
     targetSdkVersion 25 
     versionCode 1 
     versionName "1.0" 
     multiDexEnabled true 
     testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 

    packagingOptions { 
     exclude 'META-INF/DEPENDENCIES' 
     exclude 'META-INF/NOTICE' 
     exclude 'META-INF/LICENSE' 
     exclude 'META-INF/LICENSE.txt' 
     exclude 'META-INF/NOTICE.txt' 
    } 

} 

dependencies { 
    compile fileTree(include: ['*.jar'], dir: 'libs') 
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 
     exclude group: 'com.android.support', module: 'support-annotations' 
    }) 
    compile 'com.android.support:appcompat-v7:25.3.1' 
    compile 'com.android.support.constraint:constraint-layout:1.0.2' 
    testCompile 'junit:junit:4.12' 
    compile files('libs/adjust-android-4.11.0.jar') 
    compile files('libs/FlurryAnalytics-6.2.0.jar') 
    compile files('libs/google-play-services.jar') 
    compile files('libs/httpmime-4.2.4.jar') 
    compile files('libs/picasso-2.5.2.jar') 
    compile files('libs/YouTubeAndroidPlayerApi.jar') 
    compile 'com.android.support:multidex:1.0.1' 
    compile project(':lib_slidingpanel') 
    compile project(':lib_dotted_loading') 
    compile project(':lib_viewpagerindicator') 
    compile project(':lib_annotation_validator') 

} 

这里是我的menifiest.xml代码: -

在哪里我取代了我的包的名称与

ABC.DEF.GHI

请帮我一把。提前致谢。

+0

您是否尝试清洁和重建项目? – SripadRaj

+0

完成但问题仍然存在。 –

回答

1

这是因为旅游可绘制的图像hapening请检查他们,比干净的thw项目。 希望它能帮助您

0

打开应用程序清单(AndroidManifest.xml),单击Merged Manifest。

Check image

您可以查看右科拉姆错误,请尝试解决error.It可以帮助一些有一个同样的问题。

相关问题