Phito Phito - 2 years ago 132
Android Question

Android Studio 3.0 Canary 1: Gradle Sync Error

I'm getting this error in my Kotlin project:

Gradle error

Here is my app's Gradle files:

enter image description here

enter image description here

I haven't really done anything to the project yet except add Kotlin and Anko dependencies. Not sure what's happening...

Answer Source

Add the dependency inside you app-level app module :

// Anko
compile 'org.jetbrains.anko:anko-sdk15:0.8.2' // sdk19, sdk21, sdk23 are also available
compile 'org.jetbrains.anko:anko-support-v4:0.8.2' // In case you need support-v4 bindings
compile 'org.jetbrains.anko:anko-appcompat-v7:0.8.2' // For appcompat-v7 bindings
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download