0

我得到在建設gradle這個錯誤,因爲Android的工作室:錯誤:執行失敗的任務「:應用程序:processDebugManifest」

完全錯誤的位置:

我的項目依賴於多個庫

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

的build.gradle(模塊:應用

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 21 
    buildToolsVersion "23.0.1" 

    defaultConfig { 
     applicationId "com.haja.ballpoolCheats" 
     minSdkVersion 8 
     targetSdkVersion 21 
    } 

    buildTypes { 
     release { 
      minifyEnabled true 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' 
     } 
    } 
} 

dependencies { 
    compile 'com.google.android.gms:play-services:+' 
    compile 'com.android.support:appcompat-v7:19.1.0' 
    compile files('libs/adcolony.jar') 
    compile files('libs/calligraphy-1.1.0.jar') 
} 

的build.gradle(謨)

// Top-level build file where you can add configuration options common to all sub-projects/modules. 
buildscript { 
    repositories { 
     jcenter() 
    } 
    dependencies { 
     classpath 'com.android.tools.build:gradle:1.5.0' 
    } 
} 

allprojects { 
    repositories { 
     jcenter() 
    } 
} 

我怎樣才能解決這個問題?

回答

0

的compilesdk版本和庫版本必須相同.. 請檢查如何改變編譯SDK版本或下載相同compilesdk版本

1

變化最小SDK版本版本的最新庫到9,谷歌播放服務支持版本8以上或Froyo即從SDK版本9.如果你想支持 Froyo也有單獨的支持庫,因爲我認爲世界上沒有身體不使用Froyo。最好不要擔心,剛纔提到min sdk版本9

相關問題