android-edittext-validator
android-edittext-validator copied to clipboard
Failed to resolve: com.andreabaccega:android-edittext-validator:1.3.0
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' }
}
}
Change the version code"1.3.0" to "1.3.4".It's been updated and the 1.3.0 is broken.
1.3.4 also does not work. Which version is the current one ?
@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'
...
}
Hello guys, I'm having no issues on this. Were you able to import 1.3.4?
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