I'm trying to convert my projects from eclipse to android studio... And I already fail with my simpliest project.
I always get errors like following:
Error:Failed to find: com.nispok:snackbar:2.5.2
Error:Failed to find: com.github.manuelpeinado.multichoiceadapter:multichoiceadapter-abc:3.0.0
Error:Failed to find: com.path:android-priority-jobqueue:1.1.2
Actually, NO online resource is found at all... I checked Gradle settings and checked, that Offline work is not checked.
What can I do next?
I have following two files:
My PROJECT gradle file:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
allprojects {
repositories {
mavenCentral()
}
}
My LIBRARIES gradle file:
apply plugin: 'com.android.library'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
minSdkVersion 14
targetSdkVersion 21
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile project(':newQuickAction3D')
compile 'com.github.manuelpeinado.multichoiceadapter:multichoiceadapter-abc:3.0.0'
compile 'com.path:android-priority-jobqueue:1.1.2'
compile 'com.nispok:snackbar:2.5.2'
compile 'com.android.support:appcompat-v7:21.0.3'
}