No such property: FOR_RUNTIME for class: org.gradle.api.attributes.Usage

Please check your Android system log. Usually it located at:

For Windows:

C:\User\yourusername\\.AndroidStudio3.1\system\log\idea.log

I encounter the same issue, and I got this error log:

Caused by: groovy.lang.MissingPropertyException: No such property: FOR_RUNTIME for class: org.gradle.api.attributes.Usage

It means you have to upgrade the com.novoda.bintray-release to the latest version

dependencies {
        classpath 'com.novoda:bintray-release:0.8.0'
}