ActiveAndroid
ActiveAndroid copied to clipboard
Failed to resolve: com.michaelpardo:activeandroid:3.1.0-SNAPSHOT
I tried to compile this in my gradle and it failed
Did you use gradle?
Sorry it was my mistake. Issue can be closed.. On May 14, 2015 2:44 PM, "Mateusz Boś" [email protected] wrote:
Did you use gradle?
— Reply to this email directly or view it on GitHub https://github.com/pardom/ActiveAndroid/issues/367#issuecomment-102010358 .
I am also getting the same problem. in my Build.Gradle(Project) I have:
buildscript {
repositories {
jcenter()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:1.+'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
In my Build.gradle(App) I have:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.squareup.retrofit:retrofit:2.0.0-beta2'
compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2'
compile 'com.squareup:otto:1.3.8'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.github.machinarius:preferencefragment:0.1.1'
compile 'com.google.android.gms:play-services-ads:8.3.0'
compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
}
and when I sync it says:
Error:(38, 13) Failed to resolve: com.michaelpardo:activeandroid:3.1.0-SNAPSHOT
Show in File
Show in Project Structure dialog
Ok the mistake was I have to add repositories code above the dependencies in Build.gradle(app)
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
today i want try using ActiveAndroid. But i'm unable get from Gradle(Android Studio) using depedency: com.michaelpardo:activeandroid:3.1.0-SNAPSHOT.
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } must put in the Top-level build.gradle.
Can i put it in the module's build.gradle?
@ahmadalibaloch, Thanks, Worked for me!
Put on top level working for me too
@ornolisvt do you still use Active Android? https://github.com/pardom-zz/ActiveAndroid/issues/550
No @naXa777. I'm using Objectbox
Same problem today.
Same problem happening with me today. Any fix?
This problem's giving me headache. Any fix?
I am having same problem today itself. And my development stuck due to this reason. please give a solution for this.
Pls fix it. Thanks
Somebody propose this solution https://github.com/pardom-zz/ActiveAndroid/issues/317#issuecomment-67979112
Somebody propose this solution #317 (comment)
Why all of sudden today we all are facing same problem ??
probably the maven is not existing anymore. So maybe fork this repo and then you can also give path the of your own repo. implementation 'com.github.'yourusername':ActiveAndroid:'commit code or version''
Solution here
Same problem here. It seems its no longer available in the repository
Same problem here :(
same problem, any one got solution ?
Solution below
https://locaandroid.blogspot.com/2020/05/failed-to-resolve-commichaelpardoactive.html
Solution below
https://locaandroid.blogspot.com/2020/05/failed-to-resolve-commichaelpardoactive.html
That Jar is not SAFE
Please download the official jar: https://github.com/pardom-zz/ActiveAndroid/downloads
Don't Get Hacked