Skip to content

Instantly share code, notes, and snippets.

@emedinaa
Last active July 30, 2021 03:52
Show Gist options
  • Save emedinaa/3ff7853a9fe49f57f43e14bc892fe981 to your computer and use it in GitHub Desktop.
Save emedinaa/3ff7853a9fe49f57f43e14bc892fe981 to your computer and use it in GitHub Desktop.
Mercado Pago - error gradle
Mercado pago :
implementation ('com.mercadopago.android.px:checkout:4.+')
https://github.com/mercadopago/px-android
Error:
Duplicate value for resource 'attr/labelVisibilityMode' with config 'DEFAULT' and product
Fix :
build.gradle
defaultConfig {
applicationId "com.emedinaa.mercadopagoapp"
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Manifest
<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MercadoPagoApp"
tools:replace="android:appComponentFactory"
android:appComponentFactory="androidx">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment