Kotlin / anko-example

A small application built with Anko DSL
https://github.com/JetBrains/anko
Apache License 2.0
284 stars 64 forks source link

Can't build a sample project. #7

Closed dmitvitalii closed 7 years ago

dmitvitalii commented 7 years ago

Android Studio 2.2.3, java-8 OpenJDK, Fedora 24. Just downloaded and opened project.

Error:(41, 13) Failed to resolve: org.jetbrains.anko:anko-sdk15:0.9.1

jakoss commented 7 years ago

Same problem with me

carmas123 commented 7 years ago

+1

NeverwinterMoon commented 7 years ago

Version 0.9.1 is not available at jcenter (only previous release is), I solved this by adding maven { url 'https://dl.bintray.com/jetbrains/anko' } to allprojects repositories in root build.gralde, like so:


allprojects {
    repositories {
        jcenter()
        maven { url 'https://dl.bintray.com/jetbrains/anko' }
    }
}
justiceadamsUNI commented 7 years ago

+1 @NeverwinterMoon Thank you for the help!

yujiea commented 7 years ago

@Nekromancer Thank you for your help !

Pandosas commented 7 years ago

Helped me alot thanks ;D

yanex commented 7 years ago

The actual problem https://github.com/Kotlin/anko/issues/313 is resolved so I think the issue may be closed.