1. 程式人生 > >解決Gradle執行命令時報Could not determine the dependencies of task ':compileReleaseJava'.

解決Gradle執行命令時報Could not determine the dependencies of task ':compileReleaseJava'.

Could not determine the dependencies of task ':compileReleaseJava'.

> failed to find target android-19

歡迎加入QQ交流3群:317874559


這個問題需要的在工程的根目錄新增兩個檔案local.properties和settings.gradle這 兩個檔案

local.properties的內容是:你的SDK目錄

sdk.dir=C:\\xiong\\android\\adt-bundle-windows-x86-20140321\\adt-bundle-windows-x86-20140321\\sdk

settings.gradle的內容是你需要打包的工程 如RoBoGuiceTest工程

include ':RoBoGuiceTest'   這個必須新增 不新增則報上面的錯


相關推薦

解決Gradle執行命令時報Could not determine the dependencies of task ':compileReleaseJava'.

Could not determine the dependencies of task ':compileReleaseJava'. > failed to find target andro

解決Gradle執行命令時報Could not determine the dependencies of task ':compileReleaseJava'.

內容 oid 兩個 jsb pan mpi 技術分享 android undle Could not determine the dependencies of task ‘:compileReleaseJava‘. > failed to find targe

Error:Could not determine the dependencies of task ':app:transformClassesWithInstantRunForDebug'.

在Android Studio使用中,我們可能會遇到這種問題:Error:Could not determine the dependencies of task ':app:transformCl

AndroidStudio導入Eclipse項目報錯Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject

and art cli mode log RF details get ID AndroidStudio導入Eclipse項目報錯 Error:Could not determine the class-path for interface com.android.buil

如何解決部署Win10出現的Could not find the unattend file報錯?

體驗 方案 腳本 nag helpdesk it基礎 操作 dell onf 如何解決使用Symantec ITMS部署Win10出現的Could not find the unattend file報錯? ?Lander Zhang 專註外企按需IT基礎架構運維服務,IT

Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject

androidStudio匯入Eclipse專案報錯 錯誤原因:gradle配置錯誤 因為Eclipse所使用的ADT外掛已經不再更新,所以從Eclipse匯出的專案使用的是舊版本Gradle外掛,而新版的Android Studio(v2.3+)已經不再支援1.0.0版本

Java問題解決:Java compiler level does not match the version of the installed Java project facet.

問題 compiler .cn 技術分享 cnblogs java編譯 mpi 選中 per 問題原因:Java編譯器級別與Facted Project 中的Java 版本設定不匹配。 解決辦法:將兩者設置一致 1.查看Java compiler level :   選中項

Android Studio在專案構建時報Could not find lint-gradle-api.jar 錯誤的解決辦法

        網上有很多報下面這個錯誤:       這個錯誤的解決辦法,經常都是莫名出現的,這個問題是由於專案build.gradle中沒有配置google()所造成的,一般在buildscript和allprojects的配置項中都加上即可,然而有時還是解決不了問

關於Mac os gradle 編譯時報could not download gradle.jar…’的錯誤問題解決

報這個錯誤的主要原因是沒有對應的gradle的jar包 需要分別在目錄                 Users/apple /.gradle/wrapper/dists 和android studio的目錄     Android Studio.app/Contents

關於jmeter命令執行.jmx文件出現Error in NonGUIDriver java.lang.RuntimeException: Could not find the TestPlan class的問題

使用 lang exception ava 出現 問題 drive test bug jmeter命令行執行.jmx文件時,有時回出現Error in NonGUIDriver java.lang.RuntimeException: Could not find the T

解決使用eclipse創建maven web項目時報Could not resolve archetype的問題

red ted jar 創建項目 ron aging resolve 命令 自動 前兩天重裝了系統,今天想寫一個項目的時候出現了點問題。 在使用eclipse創建maven web項目時,點Finish後報了Could not resolve archetype的問題。

Gradle-Could not determine java version from '11'

問題描述 因為換工作,需要新配置的環境,所以遇到了各種問題,例如下面這個: 發生錯誤的相關環境配置 JDK 11 Gradle 4.4 如果不知道自己安裝的 Java 版本,可以根據一下命令檢視: Mac : #檢視版本 java -version #檢

解決apache啟動錯誤"httpd:Could not reliably determine

啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain name [[email protected] httpd-2.2.4]# /usr/l

pd設定連線資料來源連線oracle時報could not load oci.dll解決辦法

今天連線pd時,設定資料來源  連線測試時,總是報“Could not load oracle oci.dll”這個類似的錯誤。 在網上搜尋了一下解決辦法。大多數不大靠譜。試著到環境變數中看了一下設定。發現並沒有oracle的路徑。才想起來前一段重灌過系統,之前的路徑設定

解決apache啟動錯誤:Could not reliably determine the server's fully qualified domain name

原文地址:http://www.2cto.com/os/201201/117797.html 啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain name

用eclipse啟動tomcat時報Could not publish server configuration for Tomcat v8.0 Server at localhost..錯誤

ecg avd metadata ber cli for hbm aac tlb Could not publish server configuration for Tomcat v8.0 Server at localhost. Context with path “

搭建jfinal框架時報 Could not load driverClass com.mysql.jdbc.Driver

aid targe 服務 http driver follow 也有 -i 框架 搭建jfinal框架時報 Could not load driverClass com.mysql.jdbc.Driver 沒有加載MySQL的驅動,你有沒有把mysql的驅動包放到你項目的W

數據庫 The Network Adapter could not establish the connection解決方案

details 3-9 not article sdn sta p地址 重啟 adapter 連接數據庫 註意 url ip地址換的時候 oracle 裏的listener.ora thnsnames.ora也要隨之變化 重啟數據庫 不然可能會報出 jav

在Linux使用exec執行命令時報的哪些錯

在linux使用exec執行命令時報的哪些錯問題1:find: paths must precede expression[[email protected] data]# find /oracle/backup/exp/data -name exp_table01_db01_*.dmp.gz -a

IntelliJ Idea解決Could not autowire. No beans of 'xxxx' type found的錯誤提示

images clas sql figure war configure 多少 錯誤提示 bsp 本文轉自:http://blog.csdn.net/u012453843/article/details/54906905 1.問題描述   在Idea的spring工程裏