px-android icon indicating copy to clipboard operation
px-android copied to clipboard

Duplicate value for resource 'attr/scaleType'

Open benoffi7 opened this issue 2 years ago • 3 comments

Al integrar implementation 'com.mercadopago.android.px:checkout:4.+'

me saltan estos errores

C:\Users\DELL.gradle\caches\transforms-3\d3ba8c4cb7470b6a31531663dc8f9c76\transformed\jetified-ui_legacy-8.18.0\res\values\values.xml:890:4: Duplicate value for resource 'attr/scaleType' with config 'DEFAULT' and product ''. Resource was previously defined here: C:\Users\DELL.gradle\caches\transforms-3\33fbbdaa29e40aa7dafc23f6688d8f28\transformed\jetified-camera-view-1.1.0-beta03\res\values\values.xml:6:4: .

Element uses-feature#android.hardware.camera.autofocus at AndroidManifest.xml:17:5-70 duplicated with element declared at AndroidManifest.xml:11:5-69

C:\Users\DELL\Documents\GitHub\emer-arg-android-benef\app\src\main\AndroidManifest.xml Error: android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details

Creo que el conflicto esta acá

//CameraX // The following line is optional, as the core library is included indirectly by camera-camera2 implementation "androidx.camera:camera-core:1.1.0-beta03" implementation "androidx.camera:camera-camera2:1.1.0-beta03" // If you want to additionally use the CameraX Lifecycle library implementation "androidx.camera:camera-lifecycle:1.1.0-beta03" // If you want to additionally use the CameraX View class implementation "androidx.camera:camera-view:1.1.0-beta03" // If you want to additionally use the CameraX Extensions library implementation "androidx.camera:camera-extensions:1.1.0-beta03"

pero necesito la camara para otra funcionalidad de la camara en la app

Muchas gracias!

benoffi7 avatar Apr 11 '22 18:04 benoffi7

Estoy presentando el mismo problema existe un conflicto entre la librería especialmente del view de Camera X
// CameraX implementation("androidx.camera:camera-view:1.2.0-alpha03")

Este es el siguiente error que sale

Illegal char <:> at index 67: com.chillexperience.app.users.app-mergeDevelopmentDebugResources-90:/values/values.xml

como si algun recurso estuviera duplicado

chillexperience avatar Jul 09 '22 21:07 chillexperience

Please try again with version 4.53.2

guchito9 avatar Jul 15 '22 16:07 guchito9

The problem continues in that version too

NearTox avatar Aug 16 '22 22:08 NearTox