[英]FAILURE: Build failed with an exception. in volley\bintray.gradle
FAILURE: Build failed with an exception.
失败:构建失败,发生异常。
Where: Build file 'C:\\Users\\aasim\\AndroidStudioProjects\\Project2\\volley\\bintray.gradle' line: 25
其中:构建文件“ C:\\ Users \\ aasim \\ AndroidStudioProjects \\ Project2 \\ volley \\ bintray.gradle”行:25
What went wrong: A problem occurred evaluating root project 'volley'.
出了什么问题:评估根项目“ volley”时发生问题。
Could not find property 'android' on task ':sourcesJar'.
在任务':sourcesJar'上找不到属性'android'。
Try: Run with --stacktrace option to get the stack trace.
尝试:使用--stacktrace选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output.
使用--info或--debug选项运行以获取更多日志输出。
BUILD FAILED
建立失败
Total time: 3.696 secs
总时间:3.696秒
I am very new in android. 我是android的新手。 and facing the same problem from last few hours and got the way :
并在最近几个小时内遇到了同样的问题,并提出了解决办法:
step 1: open volley gradle 第1步:打开排球gradle
step 2: find this line- 步骤2:找到这行
apply from: 'bintray.gradle'
step 3: and comment above line 步骤3:并在上方评论
step 4: sync your project 第4步:同步您的项目
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.