Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve: com.andreabaccega:android-edittext-validator:1.3.0 #64

Open
jewom opened this issue Mar 24, 2018 · 5 comments
Open

Comments

@jewom
Copy link

jewom commented Mar 24, 2018

Hi and thanks for this lib :)

When I want to put it on my project, I have this error :
Failed to resolve: com.andreabaccega:android-edittext-validator:1.3.0 Show in File Show in Project Structure dialog

This is my Gradle :

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'io.fabric'

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "hey.hey"
        minSdkVersion 19
        targetSdkVersion 27
        versionCode 11
        versionName "2.1.1"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        kapt {
            arguments {
                arg("room.schemaLocation", "$projectDir/schemas".toString())
            }
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }
    dependencies {
        classpath 'io.fabric.tools:gradle:1.25.2'
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
    implementation 'com.android.support:appcompat-v7:27.1.0'
    implementation 'com.android.support:design:27.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    implementation 'com.android.support:support-v4:27.1.0'
    compile "android.arch.persistence.room:runtime:1.0.0"
    annotationProcessor "android.arch.persistence.room:compiler:1.0.0"
    kapt "android.arch.persistence.room:compiler:1.0.0"
    compile "org.jetbrains.anko:anko-commons:0.10.4"
    compile "org.jetbrains.anko:anko-design:0.10.4"
    compile "com.chibatching.kotpref:kotpref:2.4.0"
    compile "com.chibatching.kotpref:initializer:2.4.0"
    compile('io.socket:socket.io-client:1.0.0') { exclude group: 'org.json', module: 'json' }
    compile 'com.github.anastr:speedviewlib:1.1.7'
    compile 'com.andreabaccega:android-edittext-validator:1.3.0'
    implementation('com.crashlytics.sdk.android:crashlytics:2.9.1@aar') { transitive = true }
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

@Kandejianer
Copy link

Change the version code"1.3.0" to "1.3.4".It's been updated and the 1.3.0 is broken.

@abrutsze
Copy link

1.3.4 also does not work. Which version is the current one ?

@mnahkies
Copy link

mnahkies commented Jul 4, 2018

@abrutsze I'm using this with success using the following gradle directive:

app.gradle:

dependencies {
...
    implementation 'com.andreabaccega:android-form-edittext:1.2.1@aar'
...
}

@vekexasia
Copy link
Owner

Hello guys, I'm having no issues on this. Were you able to import 1.3.4?

@mnahkies
Copy link

Just tested with my project and 1.3.4 does indeed work fine as well. Only thing to note is that it comes from a different repository that needs adding to the project level gradle file as per readme

allprojects {
    repositories {
...
        maven {
            url "https://jitpack.io"
        }
...
    }
}

@vekexasia @abrutsze

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants