1. 程式人生 > >Could not resolve com.android.tools.lint:lint-gradle:26.1.2.

Could not resolve com.android.tools.lint:lint-gradle:26.1.2.

最近開始撿起android學習,安裝了最新的android studio 3.1.2,跑專案的時候一直報這個錯誤,國內找了一大圈沒解決,在國外找到了答案。只要把AS(android studio簡稱)的一個地方改一下就行,直接上圖:


這地方原來有個--offline,把它刪掉,apply一下,點選ok。再跑一次專案,萬事大吉。

相關推薦

Could not resolve com.android.tools.lint:lint-gradle:26.1.2.

最近開始撿起android學習,安裝了最新的android studio 3.1.2,跑專案的時候一直報這個錯誤,國內找了一大圈沒解決,在國外找到了答案。只要把AS(android studio簡稱)的一個地方改一下就行,直接上圖:這地方原來有個--offline,把它刪掉,

Could not resolve com.android.tools.build:gradle:2.3.+

在由3.2.0升級Android studio 到3.2.1之後,之前正常編譯的專案,報錯。發現很多之前的第三方庫沒有指定明確版本的都找不到依賴了。解決辦法是全部指定 明確的版本號。 - comp

Android平臺app打包時遇到的問題:從Could not resolve com.android.tools.build:gradle:3.0.0.說起

一、照例,先說一下上下文 最近進行App的打包,平臺為IOS和Android,分別都遇到了非常多的坑,後續會整理一下一起貼出來與大家交流。 目前先說一說剛剛解決的在Android平臺下打包遇到的一個超級大坑。 二、用到的環境 Android

Could not resolve com.android.tools.build:gradle:0.5.+

使用Android studio Gradle 打包Android項目遇到 問題一樣,就按照老外的教程解決了問題: 自己也整理一下: 開啟改地址,只要修改連結後面的版本號就可以看見對應jar包,  也就是android 專案的構建工具,在主專案的build.gra

Could not find com.android.tools.lint:lint-gradle:26.1.2.

tdi spa google andro jce -s repo jcenter android allprojects { repositories { flatDir { dirs ‘libs‘ }

Flutter新手第一個坑:Could not find com.android.tools.lint:lint-gradle:26.1.1.

解決方法1:修改build.gradle,註釋掉jcenter(),google()。使用阿里的映象。原因是jcenter google庫無法訪問到導致的問題。雖然我有萬能的爬牆工具,開啟全域性代理依然被我們偉大的發改委牆掉了! buildscript { repositories { //goo

Could not resolve all files for configuration ':classpath'.Could not find com.android.tools.

升級到Android Sutido 3.0後,跑測之前的Model的main()方法方法時報錯: Error:Gradle: A problem occurred configuring root project ‘MyApplication’. Could not reso

Could not resolve com.android.supportsupport-annotations25.4.0

概述 最近在做客戶專案的維護工作,才進專案,那邊的同事不知道要幹啥把Support升級到了25.4.0,我給看懵逼了。 Sdk manager 都找不到的。 不信可以試試 androidTestCompile "com.android.support:support-annota

Unable to resolve dependency for ...: Could not resolve com.android.support: ...

錯誤內容: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.1.0. Op

Could not resolve com.android.support.constraint:constraint-layout:1.1.3.

背景 很久沒有新建Android專案,今天想新建一個專案然後學習一下模組依賴,剛新建的專案居然提示gradle編譯不通過,搞笑! 錯誤再現 新建專案,報錯如下: 意思就是無法依賴constraint-layout:1.1.3 解決方法 開啟Android Studio的設定

android stdio Error Could not find com.android.tools common 25.2.2

Error:Could not find com.android.tools:common:25.2.2. Searched in the following locations: file:/D:/Program Files/Android/Android Studio/gradle/m2re

Could not resolve com.android.support:appcompat-v7:28.0.0 錯誤處理

20181008 總是出現錯誤 Could not resolve com.android.support:appcompat-v7:28.0.0 1、先是懷疑前些天降級了jdk 1.8 ,所以重新安裝了 jdk 10 java --version java 10.0.2 2018-07-

GradleCould not find com.android.tools.buildgradle3.0.0. Searched in the followi

Could not find com.android.tools.buildgradle3.0.0. Searched 解決辦法:這是因為在gradle中的repositories 缺少了 ‘goog

AndroidStudio編譯提示Could not find com.android.tools.lintlint-gradle26.1.3問題的解決

開啟app同事留下的project,此project用到library,編譯此module的時候提示Could not find com.android.tools.lintlint-gradle26.1.3 根據Android Studio文件,我們project的頂

Gradle sync failed: Could not find com.android.tools.build:gradle:2.3.3.

問題:Gradle編譯失敗 詳細錯誤訊息: Gradle sync failed: Could not find com.android.tools.build:gradle:2.3.3.           

Android Studio Error:Could not find com.android.tools.build:gradle

一、今天更新Android Studio後開啟Project,報如下錯誤: Error: Could not find com.android.tools.build:gradle:2.2.1. Searched in the following

Could not find com.android.tools.build:aapt2:3.2.0-4818971.

Could not find com.android.tools.build:aapt2:3.2.0-4818971. Searched in the following locations:     file:/G:/workspace/android/adt-bun

could not find com.android.tools.build:gradle:2.2.3

將專案的 build.gradle中的 buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tool

Could not find com.android.tools.build:aapt2:3.2.1-4818971.

Could not find com.android.tools.build:aapt2:3.2.1-4818971. Searched in the following locations:     file:/H:/Android/android-sdk/extras/m2r

Android Studio下“Error:Could not find com.android.tools.build:gradle:2.2.1”的解決方法

今天更新Android Studio後開啟Project,報如下錯誤: Error:Could not find com.android.tools.build:gradle:2.2.1. Searched in the following locations:    fi