Closed burntcookie90 closed 9 years ago
getting the following:
Error:(43, 13) Failed to resolve: org.jetbrains.kotlin:anko:0.5-15s
app/build.gradle
buildscript { repositories { jcenter() } dependencies { classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:0.11.91' } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion 22 buildToolsVersion "22.0.1" defaultConfig { applicationId "io.dwak.blah" minSdkVersion 16 targetSdkVersion 22 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main.java.srcDirs += 'src/main/kotlin' } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:appcompat-v7:22.0.0' compile 'org.jetbrains.kotlin:kotlin-stdlib:0.11.91' compile 'org.jetbrains.kotlin:anko:0.5-15s' compile 'io.reactivex:rxjava:1.0.8' compile 'io.reactivex:rxandroid:0.24.0' compile 'com.squareup.retrofit:retrofit:1.9.0' }
I just cloned the project and it ran without a hitch. Maybe try again?
getting the following:
app/build.gradle