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

Android Studio 突然開(kāi)始顯示無(wú)法解析 com.android.sup

Android Studio Suddenly started to display unable to resolve com.android.support...25.0.0 error messages and all of my java files are erroneous now?(Android Studio 突然開(kāi)始顯示無(wú)法解析 com.android.support...25.0.0 錯(cuò)誤信息,我的
本文介紹了Android Studio 突然開(kāi)始顯示無(wú)法解析 com.android.support...25.0.0 錯(cuò)誤信息,我的所有 java 文件現(xiàn)在都出錯(cuò)了?的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

問(wèn)題描述

我的項(xiàng)目運(yùn)行良好,但直到有一天,我將項(xiàng)目上傳到 github.我不知道這個(gè)問(wèn)題是否與此有關(guān),但是今天當(dāng)我編譯我的 android studio 項(xiàng)目時(shí),它開(kāi)始向我顯示這 4 個(gè)可怕的錯(cuò)誤.我已經(jīng)嘗試了大部分谷歌結(jié)果,但沒(méi)有任何幫助!

My project was working very fine, but until one day, when I uploaded my project to github. I don't know if this issue is related to that but today when I compiled my android studio project, it started showing me these 4 horrible errors. I have tried most of the google results but no help!

錯(cuò)誤:無(wú)法解決:com.android.support:cardview-v7:25.0.0
錯(cuò)誤:無(wú)法解決:com.android.support:customtabs:25.0.0
錯(cuò)誤:無(wú)法解決:com.android.support:appcompat-v7:25.0.0
錯(cuò)誤:無(wú)法解決:com.android.support:support-v4:25.0.0

Error:Failed to resolve: com.android.support:cardview-v7:25.0.0
Error:Failed to resolve: com.android.support:customtabs:25.0.0
Error:Failed to resolve: com.android.support:appcompat-v7:25.0.0
Error:Failed to resolve: com.android.support:support-v4:25.0.0

如果有幫助,這是android studio屏幕截圖!

這是我的應(yīng)用級(jí) build.gradle 文件:

This is my app level build.gradle file:

apply plugin: 'com.android.application'

repositories {
    mavenLocal()
    mavenCentral()
    flatDir {
        dirs 'libs'
    }
}

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.3"
    defaultConfig {
        applicationId "com.google.firebase.codelab.friendlychat"
        minSdkVersion 22
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    packagingOptions {
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE-FIREBASE.txt'
        exclude 'META-INF/NOTICE'
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:design:23.1.1'
    compile 'com.firebase:firebase-client-android:2.5.0'

    compile 'com.github.bumptech.glide:glide:3.6.1'
    compile 'de.hdodenhof:circleimageview:1.3.0'
    compile 'com.android.support:appcompat-v7:23.1.1'
    // Google
    compile 'com.google.android.gms:play-services-auth:9.4.0'
    // Firebase
    compile 'com.google.firebase:firebase-database:9.4.0'
    compile 'com.google.firebase:firebase-auth:9.4.0'
    compile 'com.google.firebase:firebase-config:9.4.0'
    compile 'com.google.android.gms:play-services-appinvite:9.4.0'
    compile 'com.google.firebase:firebase-messaging:9.4.0'
    compile 'com.google.android.gms:play-services-ads:9.4.0'
    compile 'com.google.firebase:firebase-database:9.2.1'
    compile 'com.google.firebase:firebase-messaging:9.2.1'
    compile 'com.google.firebase:firebase-crash:9.4.0'
    // Firebase UI
    compile 'com.firebaseui:firebase-ui-database:0.4.0'
    // Testing dependencies
    androidTestCompile 'junit:junit:4.12'
    androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'
    androidTestCompile 'com.android.support.test:runner:0.4.1'
    androidTestCompile 'com.android.support:support-annotations:23.4.0'


    compile 'com.facebook.android:facebook-android-sdk:[4,5)'
    //facebook
}

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

這是我的項(xiàng)目級(jí)build.gradle文件:

buildscript {
    repositories {
        jcenter()
        mavenLocal()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.2'
        classpath 'com.google.gms:google-services:3.0.0'


        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        mavenLocal()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

為什么我突然開(kāi)始遇到這些錯(cuò)誤.
提前致謝!

Why I am starting to get these errors suddenly.
Thanks in advance!

推薦答案

打開(kāi)你的 android SDK manager (from C:UsersyouruseraccountAppDataLocalAndroidsdk) 并更新以下到最新版本,

Open your android SDK manager (from C:UsersyouruseraccountAppDataLocalAndroidsdk) and update following to latest versions in,

工具部分部分

  1. Android SDK 工具

  1. Android SDK Tool

Android SDK 平臺(tái)工具

Android SDK Platform-Tools

Android SDK 構(gòu)建工具

Android SDK Build tool

Android 7.1.1 (API 25) 部分

  1. SDK 平臺(tái)

附加部分

  1. Android 支持存儲(chǔ)庫(kù)
  2. Android 支持庫(kù)

然后相應(yīng)地更新您的 gradle 文件.

Then update your gradle file accordingly.

這篇關(guān)于Android Studio 突然開(kāi)始顯示無(wú)法解析 com.android.support...25.0.0 錯(cuò)誤信息,我的所有 java 文件現(xiàn)在都出錯(cuò)了?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(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)味庫(kù)的多風(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 庫(kù)的傳遞依賴)
主站蜘蛛池模板: 蜜臀久久久 | 婷婷在线视频 | 精品国产一区二区三区久久久蜜月 | 国产成人精品一区二区三区四区 | 亚洲福利在线观看 | 久久精品欧美一区二区三区不卡 | 又黄又爽又色视频 | 久久久www成人免费精品 | 成人一级毛片 | 日韩中文视频 | 午夜天堂av| 久久久午夜 | 国产三级视频在线 | 亚洲精品伦理 | 亚洲免费在线观看 | 欧美一级片在线观看 | 日本乱轮视频 | 久久久亚洲精品视频 | 中国黄色1级片 | 免费在线a | 国产精品伦理一区 | 特级黄色片| 午夜在线视频观看日韩17c | 国产一区二区免费在线观看 | 欧美天天干 | 免费h片| 欧美成人精品一区二区 | 四虎影院免费观看 | 在线免费看毛片 | 久久精品2| 欧美日韩国产在线播放 | 国产成人毛片 | 国产不卡视频 | 久久夜色精品国产欧美乱极品 | 日韩黄色一级片 | 成人国产精品久久久网站 | 国产精品久久午夜夜伦鲁鲁 | 特级毛片爽www免费版 | 日韩免费精品视频 | 最新国产精品视频 | 亚洲视频三区 |