gradle command not found

gradle command not found

Run:

./gradlew -q dependencies <module-name>:dependencies --configuration compile

Example:

./gradlew -q dependencies app:dependencies --configuration compile

 

find / -name ‘gradle*’

 

….

/Applications/Android Studio.app/Contents/gradle/gradle-2.10/bin/gradle

….

打开terminal,执行命令

/Applications/Android\ Studio.app/Contents/gradle/gradle-2.10/bin/gradle -q dependencies

返回结果:

————————————————————

Root project

————————————————————

 

_debugAndroidTestApk – ## Internal use, do not manually configure ##

No dependencies

 

_debugAndroidTestCompile – ## Internal use, do not manually configure ##

No dependencies

 

_debugApk – ## Internal use, do not manually configure ##

+— project :app

+— com.umeng.analytics:analytics:latest.integration -> 5.6.7

+— com.android.support:support-v4:21.0.3

|    \— com.android.support:support-annotations:21.0.3

+— com.android.support:appcompat-v7:23.1.1

\— project :CordovaLib

 

_debugCompile – ## Internal use, do not manually configure ##

+— project :app

+— com.umeng.analytics:analytics:latest.integration -> 5.6.7

+— com.android.support:support-v4:21.0.3

|    \— com.android.support:support-annotations:21.0.3

+— com.android.support:appcompat-v7:23.1.1

\— project :CordovaLib

 

_debugUnitTestApk – ## Internal use, do not manually configure ##

No dependencies

 

_debugUnitTestCompile – ## Internal use, do not manually configure ##

No dependencies

 

_releaseApk – ## Internal use, do not manually configure ##

+— project :app

+— com.umeng.analytics:analytics:latest.integration -> 5.6.7

+— com.android.support:support-v4:21.0.3

|    \— com.android.support:support-annotations:21.0.3

+— com.android.support:appcompat-v7:23.1.1

\— project :CordovaLib

 

_releaseCompile – ## Internal use, do not manually configure ##

+— project :app

+— com.umeng.analytics:analytics:latest.integration -> 5.6.7

+— com.android.support:support-v4:21.0.3

|    \— com.android.support:support-annotations:21.0.3

+— com.android.support:appcompat-v7:23.1.1

\— project :CordovaLib

 

_releaseUnitTestApk – ## Internal use, do not manually configure ##

No dependencies

 

_releaseUnitTestCompile – ## Internal use, do not manually configure ##

No dependencies

 

androidJacocoAgent – The Jacoco agent to use to get coverage data.

\— org.jacoco:org.jacoco.agent:0.7.4.201502262128

 

androidJacocoAnt – The Jacoco ant tasks to use to get execute Gradle tasks.

\— org.jacoco:org.jacoco.ant:0.7.4.201502262128

     +— org.jacoco:org.jacoco.core:0.7.4.201502262128

     |    \— org.ow2.asm:asm-debug-all:5.0.1

     +— org.jacoco:org.jacoco.report:0.7.4.201502262128

     |    +— org.jacoco:org.jacoco.core:0.7.4.201502262128 (*)

     |    \— org.ow2.asm:asm-debug-all:5.0.1

     \— org.jacoco:org.jacoco.agent:0.7.4.201502262128

 

androidTestApk – Classpath packaged with the compiled ‘androidTest’ classes.

No dependencies

 

androidTestCompile – Classpath for compiling the androidTest sources.

No dependencies

 

androidTestProvided – Classpath for only compiling the androidTest sources.

No dependencies

 

androidTestWearApp – Link to a wear app to embed for object ‘androidTest’.

No dependencies

 

apk – Classpath packaged with the compiled ‘main’ classes.

No dependencies

 

archives – Configuration for archive artifacts.

No dependencies

 

compile – Classpath for compiling the main sources.

+— project :app

+— com.umeng.analytics:analytics:latest.integration -> 5.6.7

+— com.android.support:support-v4:21.0.3

|    \— com.android.support:support-annotations:21.0.3

\— com.android.support:appcompat-v7:23.1.1

 

debugApk – Classpath packaged with the compiled ‘debug’ classes.

No dependencies

 

debugCompile – Classpath for compiling the debug sources.

\— project :CordovaLib

 

debugProvided – Classpath for only compiling the debug sources.

No dependencies

 

debugWearApp – Link to a wear app to embed for object ‘debug’.

No dependencies

 

default – Configuration for default artifacts.

No dependencies

 

default-mapping – Configuration for default mapping artifacts.

No dependencies

 

default-metadata – Metadata for the produced APKs.

No dependencies

 

provided – Classpath for only compiling the main sources.

No dependencies

 

releaseApk – Classpath packaged with the compiled ‘release’ classes.

No dependencies

 

releaseCompile – Classpath for compiling the release sources.

\— project :CordovaLib

 

releaseProvided – Classpath for only compiling the release sources.

No dependencies

 

releaseWearApp – Link to a wear app to embed for object ‘release’.

No dependencies

 

testApk – Classpath packaged with the compiled ‘test’ classes.

No dependencies

 

testCompile – Classpath for compiling the test sources.

No dependencies

 

testDebugApk – Classpath packaged with the compiled ‘testDebug’ classes.

No dependencies

 

testDebugCompile – Classpath for compiling the testDebug sources.

No dependencies

 

testDebugProvided – Classpath for only compiling the testDebug sources.

No dependencies

 

testDebugWearApp – Link to a wear app to embed for object ‘testDebug’.

No dependencies

 

testProvided – Classpath for only compiling the test sources.

No dependencies

 

testReleaseApk – Classpath packaged with the compiled ‘testRelease’ classes.

No dependencies

 

testReleaseCompile – Classpath for compiling the testRelease sources.

No dependencies

 

testReleaseProvided – Classpath for only compiling the testRelease sources.

No dependencies

 

testReleaseWearApp – Link to a wear app to embed for object ‘testRelease’.

No dependencies

 

testWearApp – Link to a wear app to embed for object ‘test’.

No dependencies

 

wearApp – Link to a wear app to embed for object ‘main’.

No dependencies

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/109028.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • ssh sftp端口_sftp端口号是多少

    ssh sftp端口_sftp端口号是多少ssh/sftp默认端口是22.开通网络策略时,多会因为安全问题产生不便,所以需要修改端口。与其说是修改,不如说是增加,以增加2222端口为例。方法如下:修改ssh配置文件/etc/ssh/ssh_config及/etc/ssh/sshd_config将Port22前面的#放开,并在下面添加Port2222执行命令使配置生效servicesshdrestart检查是否生效sftp-P2222ip…

    2022年9月14日
    0
  • mysql usegeneratedkeys_Mybatis Generator insert useGeneratedKeys keyProperty[通俗易懂]

    mysql usegeneratedkeys_Mybatis Generator insert useGeneratedKeys keyProperty[通俗易懂]Mybatis自动生成代码,需要用到mybatisGenerator,详见http://mybatis.github.io/generator/configreference/generatedKey.htmlinsert语句如果要返回自动生成的key值,一般会在insert里加入useGeneratedKeys属性,例如insertintosubtasks(SID,TID,RID,S…

    2022年6月26日
    35
  • freight rate_知道日波动率怎么算年波动率

    freight rate_知道日波动率怎么算年波动率第12节EWMA估计日波动率12.1简介12.2EWMA估计波动率算法12.3算法Python代码实现12.4计算示例12.5参考资料12.1简介EWMA模型    考虑一市场变量,如股票,我们有其从第0天至第NNN天每天末的数据S0,S1,…,SNS_0,S_1,…,S_NS0​,S1​,…,SN​。定义σn\sigma_nσn​为于第n−1n-1n−1天末所估计的市场变量在第nnn天的波动率,σn2\

    2025年5月31日
    0
  • 知识图谱入门 (七) 知识推理

    知识图谱入门 (七) 知识推理欢迎大家关注我的博客http://pelhans.com/,所有文章都会第一时间发布在那里哦~本节对本体任务推理做一个简单的介绍,并介绍本体推理任务的分类。而后对本体推理的方法和工具做一个介绍。知识推理简介知识推理任务分类所谓推理就是通过各种方法获取新的知识或者结论,这些知识和结论满足语义。其具体任务可分为可满足性(satisfiability)、分类(clas…

    2022年6月12日
    26
  • gridview布局_grid css

    gridview布局_grid css页面代码

    2022年9月25日
    2
  • 状态机编程_vivado状态机

    状态机编程_vivado状态机给定一个长度为 N 的数组,数组中的第 i 个数字表示一个给定股票在第 i 天的价格。设计一个算法来计算你所能获取的最大利润,你最多可以完成 k 笔交易。注意:你不能同时参与多笔交易(你必须在再次购买前出售掉之前的股票)。一次买入卖出合为一笔交易。输入格式第一行包含整数 N 和 k,表示数组的长度以及你可以完成的最大交易数量。第二行包含 N 个不超过 10000 的正整数,表示完整的数组。输出格式输出一个整数,表示最大利润。数据范围1≤N≤105,1≤k≤100输入样例1:3 22

    2022年8月8日
    5

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号