Reputation: 167
I am using android studio 3.0 and classpath com.android.tools.build:gradle:3.0.0
and distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
and got the compile issue
Error:No such property: FOR_RUNTIME for class: org.gradle.api.attributes.Usage
Please help me out of this.
Upvotes: 2
Views: 3387
Reputation: 780
i also faced the same issue i solved it by updating the gradle version
Update Gradle version
to 4.2.1
Upvotes: 2