久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Android Studio build.gradle 警告信息

Android Studio build.gradle warning message(Android Studio build.gradle 警告信息)
本文介紹了Android Studio build.gradle 警告信息的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

在我成功更新到 Android Studio 3.1 Canary 9 后,我收到警告消息

After i have successfully updated to Android Studio 3.1 Canary 9 i am getting warning message as

Warning:Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018

我知道這個(gè)警告至少目前不會(huì)在我的項(xiàng)目中造成任何問題.但是我想完全刪除它,以便將來完全沒有問題.但是在查看了我的 build.gradle 文件后,我根本找不到任何調(diào)用此警告的代碼行.

I know this warning will not cause any problem in my project at least for now. But i want to remove it totally so that there will be no problem in future at all. But after reviewing my build.gradle file i cannot find any line of code which has invoked this warning at all.

這是我的 build.gradle 文件

Here is my build.gradle file

apply plugin: 'com.android.application'

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "app.project.virtualdiary"
        minSdkVersion 21
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation 'com.google.firebase:firebase-auth:11.8.0'
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:27.0.2'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    implementation 'com.android.support:support-v4:27.0.2'
    implementation 'com.android.support:support-vector-drawable:27.0.2'
}


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

推薦答案

問題出在apply plugin: 'com.google.gms.google-services'

Google 服務(wù)插件正在代表您添加依賴項(xiàng).希望他們?cè)谖磥硇迯?fù)它.

The Google Services plugin is adding a dependency on behalf of you. Hopefully they fix it in the future.

這篇關(guān)于Android Studio build.gradle 警告信息的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM(更新到 Android Build Tools 25.1.6 GCM/FCM 后出現(xiàn) IncompatibleClassChangeError)
How to get current flavor in gradle(如何在 gradle 中獲取當(dāng)前風(fēng)味)
How to fix quot;unexpected element lt;queriesgt; found in lt;manifestgt;quot; error?(如何修復(fù)“意外元素lt;查詢gt;在“清單中找到錯(cuò)誤?)
Multi flavor app based on multi flavor library in Android Gradle(基于 Android Gradle 中多風(fēng)味庫的多風(fēng)味應(yīng)用)
Android dependency has different version for the compile and runtime(Android 依賴在編譯和運(yùn)行時(shí)有不同的版本)
Transitive dependencies for local aar library(本地 aar 庫的傳遞依賴)
主站蜘蛛池模板: 激情五月激情综合网 | 四虎在线观看 | 国产ts人妖系列高潮 | 亚洲欧美一区二区三区1000 | 男女羞羞视频在线免费观看 | 久久精品中文 | 亚洲男女视频在线观看 | 在线视频成人 | 一区二区激情 | 国产成人亚洲精品 | 亚洲高清在线播放 | 欧美一级二级在线观看 | 亚洲欧美在线视频 | 日韩午夜 | 亚洲一区国产精品 | 一级二级三级在线观看 | 欧美久久久久久 | 亚洲精品久久久蜜桃 | 精品亚洲第一 | 欧美成人h版在线观看 | 激情五月婷婷综合 | 久久69精品久久久久久国产越南 | 91精品国产综合久久香蕉922 | 亚洲视频自拍 | 高清亚洲| 久久毛片 | 亚洲黄色片免费观看 | 欧美精品一二三区 | 日本xx视频免费观看 | 久久久久久成人 | 人人色视频 | 国产精品视频免费观看 | 欧美国产日本一区 | 午夜精品久久久久久久久久久久久 | 中文一区| av性色| 青青草原综合久久大伊人精品 | 亚洲综合大片69999 | 国产男人的天堂 | 日韩久久中文字幕 | 五月婷婷亚洲 |