Could not resolve com.android.tools.build:gradle:2.3.+
在由3.2.0升級Android studio 到3.2.1之後,之前正常編譯的專案,報錯。發現很多之前的第三方庫沒有指定明確版本的都找不到依賴了。解決辦法是全部指定 明確的版本號。
- compile 'cn.testin.analysis:testin-data:latest.integration'
- compile 'cn.testin.analysis:bugout:latest.integration'
- compile 'cn.testin.analysis:bugout-ndk:latest.integration'
替換為
+ compile 'cn.testin.analysis:testin-data:5.0.8' + compile 'cn.testin.analysis:bugout:1.0.5' + compile 'cn.testin.analysis:bugout-ndk:1.0.0-beta'
看到全網很多類似的問題。有的可能是網路原因,需要科學上網。這個問題還是比較坑的。
希望對你有幫助。
相關推薦
Could not resolve com.android.tools.build:gradle:2.3.+
在由3.2.0升級Android studio 到3.2.1之後,之前正常編譯的專案,報錯。發現很多之前的第三方庫沒有指定明確版本的都找不到依賴了。解決辦法是全部指定 明確的版本號。 - comp
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.
【AndroidStudio】Error:Could not find com.android.tools.build:gradle:2.3.3
Error:Could not find com.android.tools.build:gradle:2.3.3. Searched in the following locations: file:/D:/Software/AS3.0/gradle/m2repository/com/android/too
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.build:gradle:2.2.3
將專案的 build.gradle中的 buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tool
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
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:gradle:3.0.1
更新gradle後執行應用,報錯。 解決辦法: 提示找不到gradle:3.0.1 在頂層build.gradle 中,可以看到build.gradle的配置: buildscript { repositories { jce
Could not find com.android.tools.build:gradle:3.0.0.
android studio升級3.0,gradle升級4.1以後專案報錯,如下 解決方法:在project的builde.gradle做如下操作分別加上google() buildscri
'com.android.tools.build:gradle:2.3.0' 版本報錯解決Plugin used. Try disabling Instant Run (or updating. ..
今天下載路由框架原始碼進行閱讀的時候,gradle 報錯了,“Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest vers
Could not resolve com.android.tools.lint:lint-gradle:26.1.2.
最近開始撿起android學習,安裝了最新的android studio 3.1.2,跑專案的時候一直報這個錯誤,國內找了一大圈沒解決,在國外找到了答案。只要把AS(android studio簡稱)的一個地方改一下就行,直接上圖:這地方原來有個--offline,把它刪掉,
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: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 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
No cached version of com.android.tools.build:gradle:2.0.0 available for offline mode.
問題描述:在新安裝了AndroidStudio3.1.2之後,重新匯入專案後,在專案的編譯過程中一直提示以下問題: No cached version of com.android.tools.build:gradle:2.0.0 available for offline mode.
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的頂
解決Could not find method classpath() for arguments [com.android.tools.build:gradle:3.0.0] 錯誤
記錄下:原來專案是2.3.3的gradle,因為老專案,升級到3.0.0有很多問題,加上一些3方庫的不支援,結果今天早整合VasDolly時,升級到3.0.0,最後改回到2.3.3缺怎麼都執行不起來專案
Error:Could not download artifact 'com.android.tools.build:gradle:0.13.2:gradle.jar
這個錯誤是由於我們目前比較新的studio版本都把jcenter倉庫作為預設的library倉庫,但是呢標題這個異常表示的jar檔案不在我們的jcenter中,在另一個mavencenter倉庫中,所以
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‘ }