2016-09-22 2 views
0

私のGradleのファイルが含まれているのAndroid Studioでファイル:問題は

android { 
compileSdkVersion 23 
buildToolsVersion "23.0.3" 

defaultConfig { 
    applicationId "com.shiponk" 
    minSdkVersion 15 
    targetSdkVersion 20 
    versionCode 1 
    versionName "1.0" 
    multiDexEnabled true 
} 
buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
    } 
} 

私は自分のアプリケーションでPayUBizの統合のための依存関係の下に使用していた場合。

compile 'com.payu.custombrowser:payu-custom-browser:6.0.0'//this is gradle path from where CB will be automatically downloaded 
compile 'com.payu.magicretry:magicretry:1.0.4' 

エラーの下になって:

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

com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:プロセス 'コマンド' /ホーム/ jaimin /android-sdk-linux/build-tools/23.0.3/aapt ''非終了値1で終了しました。

+0

あなたのプロジェクトをきれいにしてから再構築してください –

答えて

0

ターゲットのsdkバージョンを変更する必要があります。

このようです。

  • targetSdkVersion 23

、まだ問題は、デフォルトの設定から

"multidex" を削除した場合。

+0

私はそれを20に設定しました。通知アイコンの問題です.23それが23の場合は、通知バーのappiconがひっくり返る(または変更されました。 –

+0

ねえ、私は23歳にしました。しかし、まだエラーが表示されます。 –