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

One file was found with OS independent path 'META-INF/proguard/androidx-annotations.pro' #34

Closed
waakobrian opened this issue Sep 26, 2018 · 1 comment

Comments

@waakobrian
Copy link

waakobrian commented Sep 26, 2018

When U Added implementation 'com.budiyev.android:code-scanner:2.0.0', I get the above error in the issue title.

This is my configuration:
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.ticket.ticketingsystem"
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:design:28.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

implementation 'com.budiyev.android:code-scanner:2.0.0'

}

@yuriy-budiyev
Copy link
Owner

yuriy-budiyev commented Sep 26, 2018

To use version 2.0.0 and later you should migrate your project to AndroidX

In Android Studio 3.2:
Refactor -> Migrate to AndroidX...

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

2 participants