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

Manifest Merger Failed error on upgrading from library 2+ to 3.0.8 #934

Open
thehoneybug opened this issue Sep 4, 2020 · 0 comments
Open

Comments

@thehoneybug
Copy link

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0-alpha3] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:19:5-159:19 to override.

This is the build.gradle for my project.

pply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "net.jkpdd.billsahuliyatgo"
minSdkVersion 16
targetSdkVersion 28
versionCode 16
versionName "16.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
// cmake {
// path 'CMakeLists.txt'
// version "3.10.2"
//
// }
ndkBuild {
path 'src/main/jni/Android.mk'
}
}
}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')

implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
implementation 'com.android.support:cardview-v7:28.0.0-alpha3'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'

implementation 'com.android.support:support-v4:28.0.0-alpha3'
implementation 'com.google.firebase:firebase-messaging:17.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.android.support:design:28.0.0-alpha3'
implementation 'com.android.support:recyclerview-v7:28.0.0-alpha3'
implementation 'com.koushikdutta.ion:ion:3.0.8'

implementation 'com.android.volley:volley:1.1.1'
implementation 'com.chaos.view:pinview:1.4.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8'

implementation files('libs/BillDeskSDK_v2.1.0.jar')

}
apply plugin: 'com.google.gms.google-services'
apply plugin: 'io.fabric'

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

1 participant