Closed zhanhui913 closed 9 years ago
Hi there, What error are you having?
HI there, the error I'm having is :
Failed to resolve: com.github.worker8:tourguide:1.0.13-SNAPSHOT:
Thanks for trying out this library.
Did you add the snapshot url to under repositories like this?
repositories {
mavenCentral()
maven(){
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
In my build.grade for the Project :
In my build.grade for module:
I believe this is because of .tourguide
instead of :tourguide
.
Try changing this:
compile ('com.github.worker8.tourguide:1.0.13-SNAPSHOT@aar'){
transitive=true
}
to
compile ('com.github.worker8:tourguide:1.0.13-SNAPSHOT@aar'){
transitive=true
}
Wow, thanks. Good eye there. That fixed the problem. Cheers mate. Now I can finally start using your library.
Failed to resolve: com.github.worker8:tourguide:1.0.17-SNAPSHOT. Please help
Build grade from project `buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.3' classpath 'com.google.gms:google-services:3.0.0' } }
allprojects { repositories { mavenLocal() jcenter() mavenCentral() maven(){ url "https://oss.sonatype.org/content/repositories/snapshots" }
}
}
task clean(type: Delete) { delete rootProject.buildDir }
`
build grade from app
`apply plugin: 'com.android.application'
android { compileSdkVersion 24 buildToolsVersion "24.0.0"
defaultConfig {
applicationId "com.example.mishhy.hd"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/NOTICE'
}
}
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'com.android.support:recyclerview-v7:24.1.1'
compile 'com.android.support:cardview-v7:24.1.1'
compile 'com.android.support:design:24.1.1'
compile 'com.theartofdev.edmodo:android-image-cropper:2.2.+'
compile ('com.github.worker8:tourguide:1.0.17-SNAPSHOT@aar'){
transitive=true
}
`
Hi there, I'm trying to add this library into my app and for some reason it is not letting me add this.
Here's my app's build.gradle:
Is there anything I'm missing?
Thanks.