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

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

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

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)


相关推荐

  • 关于AD域的介绍

    关于AD域的介绍关于AD域第一次写博客,记录一下如何搭建自己的域服务器,以及其中遇到的一些问题,感谢“我的bug我做主”的文章《C#实现AD域验证登录(一)》,为防止原文被作者删除,手动将原文复制下来,如有侵权,请及时告知。域的简单介绍为什么要使用域?假设你是公司的系统管理员,你们公司有一千台电脑。如果你要为每台电脑设置登录帐户,设置权限(比如是否允许登录帐户安装软件),那你要分别坐在这一千台电脑前工作。如…

  • 利用DNSPod实现动态域名解析DDNS (解析内网、外网或IPV6地址)

    利用DNSPod实现动态域名解析DDNS (解析内网、外网或IPV6地址)更新记录2020-01-03-修复了12月31日由于dnspodAPI改动导致的失效。2019-05-24-支持IPV6(如你所料,之前所说的支持是假的)-根据网站的更新,api调用使用TLSv1.2,解决了之前调用失败的问题(感谢@lth410指出)。——————————-以下正文—————–…

  • 安卓系统框架介绍(安卓常用框架)

    一、什么是Android?Android是由谷歌公司开发的一种基于Linux的开源的操作系统。——源码地址1:https://android.googlesource.com/——源码地址2:http://androidxref.com/起初专为移动设备开发的一个操作系统,如手机,平板电脑,车载系统,智能电视等。Android第一个版本2008年11月发布,至今有超过…

  • 950. 郁闷的出纳员(Splay树)「建议收藏」

    950. 郁闷的出纳员(Splay树)「建议收藏」OIER 公司是一家大型专业化软件公司,有着数以万计的员工。作为一名出纳员,我的任务之一便是统计每位员工的工资。这本来是一份不错的工作,但是令人郁闷的是,我们的老板反复无常,经常调整员工的工资。如果他心情好,就可能把每位员工的工资加上一个相同的量。反之,如果心情不好,就可能把他们的工资扣除一个相同的量。我真不知道除了调工资他还做什么其它事情。工资的频繁调整很让员工反感,尤其是集体扣除工资的时候,一旦某位员工发现自己的工资已经低于了合同规定的工资下界,他就会立刻气愤地离开公司,并且再也不会回来了。

  • eclipse 在win7 64两个图标出现位操作系统无法锁定到任务栏或任务栏

    eclipse 在win7 64两个图标出现位操作系统无法锁定到任务栏或任务栏

  • cultureinfo 类 java_为国家,语言组合创建自定义CultureInfo

    cultureinfo 类 java_为国家,语言组合创建自定义CultureInfo我正在开发一个.net4.5应用程序,需要多语言支持多文化等.以下是国家/语言的示例列表俄罗斯/俄罗斯比利时/法国比利时/荷兰对于上述所有内容,可以根据上述文化名称创建CultureInfo对象ru-RUfr-BEnl-BE当用户进入站点时,我将Thread.CurrentThread.CurrentCulture和Thread.CurrentThread.CurrentUICulture设置…

发表回复

您的电子邮箱地址不会被公开。

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