Wyskakuje mi blad podczas dodawania biblioteki w android studio.

0

Otoz mam taki problem ze wklejam w gradle

repositories {
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}

dependencies {
    compile 'org.lucasr.twowayview:core:1.0.0-SNAPSHOT@aar'
    compile 'org.lucasr.twowayview:layouts:1.0.0-SNAPSHOT@aar'
}
 

aby dodac biblioteke tak jak jest pokazane na tej stronie (https://github.com/lucasr/twoway-view/)
ale wyskakuje mi taki blad jak na screenie.

Gradle :

 // Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

repositories {
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}

dependencies {
    compile 'org.lucasr.twowayview:core:1.0.0-SNAPSHOT@aar'
    compile 'org.lucasr.twowayview:layouts:1.0.0-SNAPSHOT@aar'
}
1

Najprawdopodobniej robisz to w złym pliku. Przełącz widok projektu na "Android" i pokaż screena

1 użytkowników online, w tym zalogowanych: 0, gości: 1