Reputation: 11
FAILURE: Build failed with an exception.
Where: Build file 'C:\Users\aasim\AndroidStudioProjects\Project2\volley\bintray.gradle' line: 25
What went wrong: A problem occurred evaluating root project 'volley'.
Could not find property 'android' on task ':sourcesJar'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.696 secs
Upvotes: 0
Views: 501
Reputation: 171
I am very new in android. and facing the same problem from last few hours and got the way :
step 1: open volley gradle
step 2: find this line-
apply from: 'bintray.gradle'
step 3: and comment above line
step 4: sync your project
Upvotes: 1