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)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • latex文献引用_如何用endnote添加参考文献格式

    latex文献引用_如何用endnote添加参考文献格式这个月一直在忙着改论文,所以一直在跟Latex打交道。这个软件也是很让人头疼,但是如果能够很好使用,能够高效的提高排版效率。没有专门学习过这个软件,所以进行排版时,用的是提供的模板,之间往里面添加内容即可。但是很多细节还是要多多注意。Latex常用的一些符号,可以参考常见符号。Latex改变颜色字体,参见Latex改变字体颜色。今天,我要说说的参考文献的插入。在论文提交初稿的时候,我就按照提高…

    2022年9月9日
    2
  • 使用VS2015进行C++开发的6个主要原因

    使用VS2015进行C++开发的6个主要原因 使用VisualStudio2015进行C++开发在今天的Build大会上,进行了“将你的C++代码转移至VS2015的6

    2021年12月27日
    41
  • java 舆情分析_基于Java实现网络舆情分析系统研究与实现.doc[通俗易懂]

    java 舆情分析_基于Java实现网络舆情分析系统研究与实现.doc[通俗易懂]基于Java实现网络舆情分析系统研究与实现基于Java实现网络舆情分析系统研究与实现摘要:通过对各大门户网站、论坛和贴吧的留言和评论的爬取,录入后台数据库。用户可根据主题、内容进行搜索查看。通过利用中科院分词算法进行实现对爬去下来的内容进行分词处理,分词处理后的结果利用自行研究出来的基于权值算法实现的中文情感分析进行评论的倾向性分析,通过对句子结构和主张词以及情感副词的判断来对评论的情感倾向性做出…

    2022年9月21日
    3
  • 软件工程NS图_软件工程软件结构图怎么画

    软件工程NS图_软件工程软件结构图怎么画一、实验目的(1)熟悉常用的详细设计表达工具(2)掌握利用visio等CASE工具设计程序流程图,NS图,PAD图的画法(3)掌握利用visualstudio等IDE完成实现代码的编写和调试二、实验内容从以下几个程序要求中任选其中的一个进行详细设计和编码实现。1) 求一组数组中的最大数,数组表示为A(n),n=自然数1,2……。2) 对输入的两个正整数a和b求其最大公约数,1<=a,b<=100003) 对输入的两个正整数a和b求其最小公倍数,1<=a,b&lt

    2022年8月13日
    3
  • Java实现远程开关机(网络唤醒)

    Java实现远程开关机(网络唤醒)Java实现远程开关机是做的一个在局域网下实现一台机器对多台机器的开关机控制远程唤醒实现是通过电源的一种协议进行控制的,需要知道被唤醒机器的mac地址首先要须知:网络唤醒条件网络唤醒需要终端的主板和网卡支持,需要先在BIOS设置支持网络唤醒网络唤醒要接通电源保证网卡能通电要接网线不能是wifi如果强制关机可能不能通过网络唤醒来开机跨交换机或者跨路由的话就有可能不支持唤醒跨多…

    2022年6月2日
    39
  • Java5的for/in循环使用[通俗易懂]

    Java5的for/in循环使用

    2022年3月12日
    180

发表回复

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

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