Closed ksy5662 closed 9 years ago
@ksy5662
try it.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
}
}
allprojects {
repositories {
jcenter() /*** this one ***/
}
}
or
repositories {
mavenCentral()
jcenter() /*** this one ***/
// for using SNAPSHOT
//maven {
// url uri('https://oss.sonatype.org/content/repositories/snapshots/')
//}
}
repositories outside of build script works!!
Thanks a lot for your great work!!
:shipit:
Couldn't get this library from jcenter
Anything I missed here?
buildscript { repositories {
}
repositories { mavenCentral()
}
apply plugin: 'com.android.application'
dependencies { compile project(':library') // Or, fetch from Maven: // compile 'com.google.maps.android:android-maps-utils:0.3+' compile 'com.android.support:support-v4:22.2.0' compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.google.android.gms:play-services:7.8.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'org.jsoup:jsoup:1.8.2' compile 'jp.wasabeef:picasso-transformations:1.2.0' // If you want to use the GPU Filters //compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.3.0' compile project(':appiraterAndroid') }
android { compileSdkVersion 22 buildToolsVersion "22.0.1"
}
task startDemo(type: Exec) { dependsOn 'installDebug' def adb = new File("${System.env.ANDROID_HOME}", "platform-tools${File.separator}adb") commandLine adb, "shell", "am", "start", "-n", "com.google.maps.android.utils.demo/.MainActivity" }