简体   繁体   中英

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

  • 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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM