When included compile "org.jetbrains.anko:anko:0.10.0" gradle build throws Error:Failed to resolve: com.google.android:android:2.3.1 on Android Studio 3.0 Canary 1 w/gradle:3.0.0-alpha1.
I'm seeing the same issue. How do I fix it?
I change buildscript deps to classpath 'com.android.tools.build:gradle:2.4.0-alpha7' solved the problem. but a warning: "Warning:Ignoring Android API artifact com.google.android:android:2.3.1 for debug"
It seems that newest 3.0 version treat it as error.
I guess we'll just have to wait for Anko to give an Alpha build that we can use
Obviously a hack for now, but I got this to build & run with 3.0.0-alpha1 by doing this:
compile("org.jetbrains.anko:anko:0.10.0") {
exclude group: 'com.google.android', module: 'android'
}
I get the same warning for Anko 0.10.0 in Android Studio 2.3.2
Build #AI-162.3934792, built on April 21, 2017
JRE: 1.8.0_112-release-b06 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
i get the same error
Relevant issue in Kotlin issue tracker: https://youtrack.jetbrains.com/issue/KT-18103
I have the same error too. Any solution now?
i not understand ,how to modify my code?
max version is 0.10.0-beta -2
https://jcenter.bintray.com/org/jetbrains/anko/anko-support-v4/
that link https://youtrack.jetbrains.com/issue/KT-18103
i show this error,
Error:Failed to resolve: org.jetbrains.anko:anko-support-v4:0.14
Open File
Show in Project Structure dialog
Most helpful comment
Obviously a hack for now, but I got this to build & run with
3.0.0-alpha1by doing this: