Android : Remote jar not found in build.gradle

on Sunday, October 26, 2014


In my application(MyApp), i am using an another project(Appox) as library and in this(Appox) project, i want to include bugsense-jar from their repository. Now in build.gradle of Appox, i am including it in this way



apply plugin: 'android-library'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}

repositories {
mavenCentral()
maven { url 'http://www.bugsense.com/gradle/' }
}



dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.bugsense.trace:bugsense:3.6'

}

android {
compileSdkVersion 19
buildToolsVersion "19.1.0"

sourceSets {
main {
....
}


}
}


But on compiling i am always getting the error Failed to find com.bugsense.trace:bugsense:3.6 Am i including it in the correct way? Is it possible that the file is not even present in their repo?


0 comments:

Post a Comment