进程'命令'F:\ Sdk \ build-tools \ 27.0.3 \ aapt.exe''完成,退出值非零1

时间:2018-12-08 08:58:53

标签: java android

我的现有项目有问题。我无法解决此问题。我尝试了不同的方法来解决此问题,但是我没有得到任何解决方案。

Process 'command 'F:\Sdk\build-tools\27.0.3\aapt.exe'' finished with non-zero exit value 1

这是我的应用程序级别gradle文件...

apply plugin: 'com.android.application'
apply plugin: 'realm-android'

android {
    compileSdkVersion 27
    buildToolsVersion '27.0.3'
    defaultConfig {
        applicationId "com.example.project"
        minSdkVersion 21
        targetSdkVersion 27
        versionCode 7
        versionName "1.6"
        multiDexEnabled true
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile('proguard-android.txt')
        }
        debug {
            debuggable true
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt')

        }
    }
    dexOptions {
        jumboMode = true
    }
    aaptOptions {
        cruncherEnabled = false
    }
    realm {
        syncEnabled = true
    }

}






dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    //noinspection GradleCompatible
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    implementation 'com.android.support:design:27.1.1'
    implementation 'com.android.support:support-v4:27.1.1'
    testImplementation 'junit:junit:4.12'
    implementation 'com.google.android.gms:play-services-places:15.0.1'
    implementation 'com.google.android.gms:play-services-maps:15.0.1'
    implementation 'com.google.firebase:firebase-auth:16.0.1'
    implementation 'com.google.firebase:firebase-database:16.0.1'
    implementation 'com.google.firebase:firebase-storage:16.0.1'
    implementation 'com.firebaseui:firebase-ui-database:3.3.0'
    implementation 'com.google.firebase:firebase-appindexing:16.0.1'
    implementation 'com.google.firebase:firebase-analytics:16.0.1'
    implementation 'com.firebase:firebase-jobdispatcher:0.8.5'
    implementation 'com.github.sharish:ShimmerRecyclerView:v1.1'
    implementation 'com.github.bumptech.glide:glide:4.8.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
    compile 'bg.devlabs.fullscreenvideoview:library:1.0.0'
    compile 'com.squareup.retrofit2:retrofit:2.4.0'
    compile 'com.github.jkennethcarino:RTextEditorView:0.1.1'
    compile 'com.squareup.retrofit2:converter-gson:2.4.0'
    compile 'com.squareup.okhttp3:logging-interceptor:3.9.0'
    compile 'com.android.support:cardview-v7:27.1.1'
    compile 'de.hdodenhof:circleimageview:2.2.0'
    compile 'com.android.support:recyclerview-v7:27.1.1'
    compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
    compile 'com.baoyz.swipemenulistview:library:1.3.0'
    compile 'com.github.rerlanggas:ExceptionHandler:1.0.0'
    compile 'com.agrawalsuneet.androidlibs:dotsloader:1.1'
    implementation 'com.mikhaellopez:circularimageview:3.2.0'
    compile 'com.jaredrummler:material-spinner:1.2.5'
    implementation 'me.zhanghai.android.materialratingbar:library:1.2.0'
    compile 'com.android.support:multidex:1.0.0'
    compile 'com.github.andrestejero:customratingbar:1.1.0'
    implementation 'com.squareup.picasso:picasso:2.71828'
    implementation 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
    implementation files('libs/YouTubeAndroidPlayerApi.jar')
}


apply plugin: 'com.google.gms.google-services'

任何人都可以帮助我,如何解决此问题,我已经在这一问题上浪费了我一天的时间,我尝试了许多解决方案来解决此问题,但是我无法做到这一点。

0 个答案:

没有答案