Downloading smack fails

Hi everyone i’ve just started developing an android app using smack and recently i started having a problem when i try to sync gradle this problem only started today

Error:A problem occurred configuring project ‘:app’.

Could not resolve all dependencies for configuration ‘:app:_debugCompile’.

Could not find org.igniterealtime.smack:smack-android:4.1.0-alpha1-SNAPSHOT.

Required by:

Testapp:app:unspecified

so after checking in the repo i found out i needed to change the snapshot …

repositories {

maven {

    url '[https://oss.sonatype.org/content/repositories/snapshots](https://oss.sonatype.org/content/repositories/snapshots)'

}

mavenCentral()

}

dependencies {

compile “org.igniterealtime.smack:smack-android:4.1.0-alpha2-SNAPSHOT”

}

Note that it’s (now) recommended to use the non-snapshot version “4.1.0-alpha1”

Thanks i’ll i’ll change to the non snapshot version