ActiveAndroid icon indicating copy to clipboard operation
ActiveAndroid copied to clipboard

Failed to resolve: com.michaelpardo:activeandroid:3.1.0-SNAPSHOT

Open dangalg opened this issue 9 years ago • 24 comments

I tried to compile this in my gradle and it failed

dangalg avatar May 14 '15 02:05 dangalg

Did you use gradle?

matbos avatar May 14 '15 11:05 matbos

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 .

dangalg avatar May 14 '15 12:05 dangalg

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

ahmadalibaloch avatar Nov 29 '15 05:11 ahmadalibaloch

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/" }
    }

ahmadalibaloch avatar Nov 29 '15 05:11 ahmadalibaloch

today i want try using ActiveAndroid. But i'm unable get from Gradle(Android Studio) using depedency: com.michaelpardo:activeandroid:3.1.0-SNAPSHOT.

ghost avatar Jan 04 '16 01:01 ghost

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?

huaxiaos avatar Mar 04 '16 03:03 huaxiaos

@ahmadalibaloch, Thanks, Worked for me!

caoyy avatar Jun 19 '16 08:06 caoyy

Put on top level working for me too

ornolisvt avatar Sep 06 '18 04:09 ornolisvt

@ornolisvt do you still use Active Android? https://github.com/pardom-zz/ActiveAndroid/issues/550

naXa777 avatar Sep 16 '18 11:09 naXa777

No @naXa777. I'm using Objectbox

ornolisvt avatar Sep 16 '18 14:09 ornolisvt

Same problem today.

AlexSuvorov2k avatar May 18 '20 07:05 AlexSuvorov2k

Same problem happening with me today. Any fix?

naddysears avatar May 18 '20 08:05 naddysears

This problem's giving me headache. Any fix?

zobrathemanish avatar May 18 '20 08:05 zobrathemanish

I am having same problem today itself. And my development stuck due to this reason. please give a solution for this.

dikshantrawal avatar May 18 '20 08:05 dikshantrawal

Pls fix it. Thanks

conanlovevit avatar May 18 '20 08:05 conanlovevit

Somebody propose this solution https://github.com/pardom-zz/ActiveAndroid/issues/317#issuecomment-67979112

manpreet-tivix avatar May 18 '20 09:05 manpreet-tivix

Somebody propose this solution #317 (comment)

Why all of sudden today we all are facing same problem ??

devarajat10 avatar May 18 '20 09:05 devarajat10

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''

manpreet-tivix avatar May 18 '20 09:05 manpreet-tivix

Solution here

AlexSuvorov2k avatar May 18 '20 09:05 AlexSuvorov2k

Same problem here. It seems its no longer available in the repository

ncrichards avatar May 18 '20 17:05 ncrichards

Same problem here :(

ahrherrera avatar May 18 '20 23:05 ahrherrera

same problem, any one got solution ?

PrateekChaurasia avatar May 19 '20 05:05 PrateekChaurasia

Solution below

https://locaandroid.blogspot.com/2020/05/failed-to-resolve-commichaelpardoactive.html

naddysears avatar May 19 '20 07:05 naddysears

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

ecr007 avatar May 19 '20 21:05 ecr007