2016-12-04 76 views
0

我試過尋找這個錯誤,但不幸的是,還沒有解決方案。所以需要在這裏發佈。ProcessException執行時出錯

error image

apply plugin: 'com.android.application' 

android { 
compileSdkVersion 21 
buildToolsVersion "21.1.2" 

defaultConfig { 
    applicationId "com.pongodev.recipesapp" 
    minSdkVersion 11 
    targetSdkVersion 21 
    versionCode 5 
    versionName "3.0.3" 
} 
buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
    } 
} 

}

依賴性{ 編譯文件樹(DIR: '庫',包括:[ '的* .jar'])

// Main libraries, you always need this libraries in your project. do not remove them. 
compile 'com.android.support:appcompat-v7:21.0.3' 
compile 'com.android.support:support-v4:21.0.3' 
compile 'com.google.android.gms:play-services:6.5.87' 

// Important library to create material design. do not remove this. 
compile project(':materialDesign') 

// Library to create tabbar 
compile 'com.jpardogo.materialtabstrip:library:1.0.6' 

// Library to create ripple effect. work together with materialDesign library. 
compile 'com.github.traex.rippleeffect:library:1.2.2' 

// Library to create rounded, circle, and any shape image. 
compile 'com.makeramen:roundedimageview:1.4.0' 

// Library load lazy images. 
compile 'com.squareup.picasso:picasso:2.4.0' 

// Library to create simple list. 
compile 'com.android.support:recyclerview-v7:21.0.0' 

// Library to create complex clickable list. 
compile 'com.android.support:cardview-v7:21.0.3' 

// Library to create material dialog. 
compile 'com.afollestad.material-dialogs:core:0.9.0.1' 

// Library to create animation imageview. 
compile 'com.flaviofaria:kenburnsview:1.0.5' 

回答

1

根據你的代碼snippest你可以使用build.gradle

更改爲

compile 'com.android.support:recyclerview-v7:21.0.3' 

而不是

compile 'com.android.support:recyclerview-v7:21.0.0' 

我希望這將有助於解決您的問題。

+0

嘗試使用此解決方案http://stackoverflow.com/questions/33991832/could-not-find-property-compile-on-org-gradle-api-internal-artifacts-dsl-depen –

+0

仍存在同樣的問題 –

+0

我們必須改變,仍然是同樣的問題 –