Android Studio 3.4: изменение значения свойства с окончательным значением устарело. Это не удастся с ошибкой в ​​Gradle 6.0 - PullRequest
14 голосов
/ 07 мая 2019

В консоли Build Output в Android Studio 3.4 появляется следующее предупреждение:

Задача: app: processDebugResources Изменение значения для свойства с окончательным значением является устаревшим. Это не удастся с ошибкой в ​​Gradle 6.0.

Вот мой файл build.gradle (Модуль: приложение):

apply plugin: 'com.android.application'

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "com.xscoder.myapp"
        minSdkVersion 21
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

        // Enabling multidex support.
        multiDexEnabled true

        aaptOptions { cruncherEnabled = false }

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

    dexOptions { javaMaxHeapSize "4g" }
}

repositories {
    google()
    mavenCentral()
    jcenter()
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    //noinspection GradleCompatible
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.android.support:design:27.1.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    testImplementation 'junit:junit:4.12'

    // Parse
    implementation "com.github.parse-community.Parse-SDK-Android:parse:1.18.6"
    implementation "com.github.parse-community.Parse-SDK-Android:fcm:1.18.6"
    implementation 'com.parse.bolts:bolts-android:1.4.0'


    // CircleImageView
    implementation 'de.hdodenhof:circleimageview:3.0.0'

    // Facebook
    implementation 'com.facebook.android:facebook-android-sdk:4.37.0'
    implementation 'com.parse:parsefacebookutils-v4-android:1.10.7@aar'

    // Google & Firebase
    implementation 'com.google.android.gms:play-services-ads:17.2.0'
    implementation 'com.google.android.gms:play-services-maps:16.1.0'
    implementation 'com.google.android.gms:play-services-location:16.0.0'
    implementation 'com.google.firebase:firebase-core:16.0.8'
    implementation 'com.google.firebase:firebase-messaging:17.6.0'
}

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

Все хорошо, приложение работает гладко, но мне интересно, когда Gradle 6.0 станет доступным, так что может вызвать отказ этой задачи?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...