Failed to resolve de.measite.minidns: minidns: [0,1,0.2)
I am completely new to Android World. I added SMACK 4.1.0 to develop XMPP capabilities. When trying to create an application, we consistently got errors. Tried searching the internet but no fruitful results. Please help you.
Error: There was a problem configuring project ': app'.
Failed to resolve all dependencies for configuration: app: _debugCompile. Failed to resolve de.measite.minidns: minidns: [0,1,0.2). Required: bind: app: unspecified> org.igniterealtime.smack: smack-android: 4.1.0> org.igniterealtime.smack: smack-resolver-minidns: 4.1.0 Unable to view versions for de.measite.minidns: minidns. Unable to download Maven metadata from https://jcenter.bintray.com/de/measite/minidns/minidns/maven-metadata.xml . Failed GET ' https://jcenter.bintray.com/de/measite/minidns/minidns/maven-metadata.xml '. peer is not authenticated
Build.Gradle(Project:bind) file is :-
// Top-level build file where you can add configuration options common to
all sub-projects/modules.
buildscript {
repositories {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
Build.Gradle(Module:app) file is :-
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.example.sukeshsaxena.bind"
minSdkVersion 8
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.0'
//Smak config for XMPP over TCP
compile "org.igniterealtime.smack:smack-android:4.1.0"
compile "org.igniterealtime.smack:smack-tcp:4.1.0"
}
Let me know if anything else is required.
source to share