编译失败;请参阅编译器错误输出以获取详细信我怎样才能解决这个问题?

时间:2018-04-20 15:32:49

标签: android-studio compiler-errors build.gradle compiler-warnings

您可以帮助修复我的构建错误吗?

我的构建gradle

<router-outlet>

日志文件:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 27
    buildToolsVersion "27.0.3"


    defaultConfig {
        applicationId "com.*******.s******"
        minSdkVersion 14
        targetSdkVersion 27
        multiDexEnabled true

        ndk {
            moduleName "player_shared"
        }
    }

    buildTypes {
        release {
            minifyEnabled false
            shrinkResources false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }


    }
    sourceSets.main {
        jni.srcDirs = []// <-- disable automatic ndk-build call
    }
}

dependencies {
    compile ('com.google.android.gms:play-services:+')
    compile files('libs/dagger-1.2.2.jar')
    compile files('libs/javax.inject-1.jar')
    compile files('libs/nineoldandroids-2.4.0.jar')
    compile ('com.android.support:multidex:1.0.1')
    compile 'com.google.android.gms:play-services-ads:11.+'
    compile 'com.google.android.gms:play-services-location:11.+'
}

0 个答案:

没有答案