I am using active android library and i am getting the error " failed to resolve compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT' " My project level build gradle is given below:-
mavenCentral()
maven { url https://oss.sonatype.org/content/repositories/snapshots/" }
and app level build.gradle is
dependencies {compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
compile files('libs/ActiveAndroid-3.3.jar')}
Finally i found the solution of this problem.Go to project level gradle and do the following.Add the two lines in
AND THEN GO TO YOUR APP level gradle.build and do the following
Make sure you added below in your App Level
build.gradle
SectionThen
App Level
build.gradle
SectionStructure