Skip to main content
etiquetas editadas
Enlace
Alfabravo
  • 9.9k
  • 5
  • 24
  • 32
se añadió 1 carácter en el cuerpo
Origen Enlace
Alfabravo
  • 9.9k
  • 5
  • 24
  • 32

Bien... veo el archivo Androidmanifest.xmlAndroidmanifest.xml --> Merged Manifest y los siguientes errores son de Mercado pago y razorpay.

Merge Errors Error: android:exported needs to be explicitly specified for element <activity#com.mercadopago.android.px.internal.features.checkout.CheckoutActivity>. 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. Android_08-01-2022.app main manifest (this file), line 37 Error: android:exported needs to be explicitly specified for element <activity#com.razorpay.CheckoutActivity>. 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. Android_08-01-2022.app main manifest (this file), line 17 Error: android:exported needs to be explicitly specified for element <receiver#com.razorpay.RzpTokenReceiver>. 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. Android_08-01-2022.app main manifest (this file), line 11 

A continuación Todo lo que hice para tratar de solucionar y sigue el problema.

Invalidate caches crean project rebuild project Actualizar razorpay y mercado pago... implementation 'com.mercadopago.android.px:checkout:4.53.1' la actualice a implementation 'com.mercadopago.android.px:checkout:4.53.2'

repositories {
    maven { url "https://dl.bintray.com/hani-momanii/maven" }
//    maven { url 'https://maven.fabric.io/public' }
    maven { url "https://jitpack.io" }
    maven { url 'https://artifacts.mercadolibre.com/repository/android-releases/'  }

Este error al tratar de construir la app signed para subir a playstore actulizando MercadoPago

Executing tasks: [:app:bundleRelease] in project C:\Users\milo\Desktop\APPAN BKP\1\Android 08-01-2022

Starting Gradle Daemon... Gradle Daemon started in 16 s 572 ms

Configure project :app WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin. WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin.

Task :app:preBuild UP-TO-DATE Task :app:preReleaseBuild UP-TO-DATE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseResValues UP-TO-DATE Task :app:generateReleaseResources UP-TO-DATE Task :app:processReleaseGoogleServices UP-TO-DATE Task :app:mergeReleaseResources UP-TO-DATE Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE Task :app:extractDeepLinksRelease UP-TO-DATE Task :app:processReleaseManifest UP-TO-DATE Task :app:checkReleaseDuplicateClasses UP-TO-DATE Task :app:compileReleaseAidl NO-SOURCE Task :app:generateReleaseBuildConfig UP-TO-DATE Task :app:prepareLintJar UP-TO-DATE Task :app:prepareLintJarForPublish UP-TO-DATE Task :app:generateReleaseSources UP-TO-DATE Task :app:dataBindingExportBuildInfoRelease UP-TO-DATE Task :app:dataBindingExportFeaturePackageIdsRelease UP-TO-DATE Task :app:dataBindingMergeDependencyArtifactsRelease UP-TO-DATE Task :app:dataBindingMergeGenClassesRelease UP-TO-DATE Task :app:dataBindingGenBaseClassesRelease UP-TO-DATE Task :app:javaPreCompileRelease UP-TO-DATE Task :app:bundleReleaseResources Task :app:processReleaseResources AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n ","tool":"AAPT"} AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n ","tool":"AAPT"}

Task :app:bundleReleaseResources AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n ","tool":"AAPT"} AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n ","tool":"AAPT"}

Task :app:processReleaseResources FAILED Task :app:desugarReleaseFileDependencies UP-TO-DATE Task Merge Errors Error:app android:mergeExtDexRelease UP-TO-DATE Taskexported needs to be explicitly specified for element <activity#com.mercadopago.android.px.internal.features.checkout.CheckoutActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for :app:bundleReleaseResources FAILED Taskandroid:exported when the corresponding component has an intent filter defined. See :app:mergeReleaseShaders UP-TOhttps://developer.android.com/guide/topics/manifest/activity-element#exported for details. Android_08-DATE Task :app:compileReleaseShaders NO01-SOURCE Task :2022.app:generateReleaseAssets UP-TO-DATE Task main manifest (this file), line 37 Error:app android:mergeReleaseAssets UP-TO-DATE Taskexported needs to be explicitly specified for element <activity#com.razorpay.CheckoutActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for :app:processReleaseJavaRes NO-SOURCE Taskandroid:exported when the corresponding component has an intent filter defined. See :app:mergeReleaseJniLibFolders UPhttps://developer.android.com/guide/topics/manifest/activity-element#exported for details. Android_08-TO01-DATE Task :2022.app:mergeReleaseNativeLibs UP-TO-DATE Task main manifest (this file), line 17 Error:app android:stripReleaseDebugSymbols UP-TO-DATE Taskexported needs to be explicitly specified for element <receiver#com.razorpay.RzpTokenReceiver>. Apps targeting Android 12 and higher are required to specify an explicit value for :app:collectReleaseDependencies UP-TO-DATE Taskandroid:exported when the corresponding component has an intent filter defined. See :app:configureReleaseDependencies UPhttps://developer.android.com/guide/topics/manifest/activity-element#exported for details. Android_08-TO01-DATE Task :2022.app:parseReleaseIntegrityConfig UP-TO-DATE Task main manifest :app:validateSigningRelease UP-TO-DATE(this file), line 11

FAILURE: Build completed with 2 failuresA continuación Todo lo que hice para tratar de solucionar y sigue el problema.

1: Task failed with an exception.

  • What went wrongInvalidate caches
  • crean project
  • rebuild project
  • Actualizar razorpay y mercado pago...
  • implementation 'com.mercadopago.android.px: Execution failed for task 'checkout:app4.53.1' la actualice a implementation 'com.mercadopago.android.px:processReleaseResources'checkout:4.53.2'

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\milo.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.

 C    repositories {
         maven { url "https:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3//dl.0\res\values\valuesbintray.xml:2520:5com/hani-2526:11:momanii/maven" AAPT:}
 error    //    maven { url 'https://maven.fabric.io/public' expected}
 enum but got (raw string) fade   maven { url "https://jitpack.io" }
         maven { url 'https://artifacts.mercadolibre.com/repository/android-releases/'  }
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

2: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:bundleReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\milo.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.

Este error al tratar de construir la app signed para subir a playstore actulizando MercadoPago

Executing tasks: [:app:bundleRelease] in project C:\Users\milo\Desktop\APPAN BKP\1\Android 08-01-2022

Starting Gradle Daemon...
Gradle Daemon started in 16 s 572 ms

> Configure project :app
WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.
It will be removed in version 5.0 of the Android Gradle plugin.
WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.
It will be removed in version 5.0 of the Android Gradle plugin.

> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseResValues UP-TO-DATE
> Task :app:generateReleaseResources UP-TO-DATE
> Task :app:processReleaseGoogleServices UP-TO-DATE
> Task :app:mergeReleaseResources UP-TO-DATE
> Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :app:extractDeepLinksRelease UP-TO-DATE
> Task :app:processReleaseManifest UP-TO-DATE
> Task :app:checkReleaseDuplicateClasses UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:generateReleaseBuildConfig UP-TO-DATE
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:prepareLintJarForPublish UP-TO-DATE
> Task :app:generateReleaseSources UP-TO-DATE
> Task :app:dataBindingExportBuildInfoRelease UP-TO-DATE
> Task :app:dataBindingExportFeaturePackageIdsRelease UP-TO-DATE
> Task :app:dataBindingMergeDependencyArtifactsRelease UP-TO-DATE
> Task :app:dataBindingMergeGenClassesRelease UP-TO-DATE
> Task :app:dataBindingGenBaseClassesRelease UP-TO-DATE
> Task :app:javaPreCompileRelease UP-TO-DATE
> Task :app:bundleReleaseResources
> Task :app:processReleaseResources
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n    ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n    ","tool":"AAPT"}

> Task :app:bundleReleaseResources
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n    ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n    ","tool":"AAPT"}

> Task :app:processReleaseResources FAILED
> Task :app:desugarReleaseFileDependencies UP-TO-DATE
> Task :app:mergeExtDexRelease UP-TO-DATE
> Task :app:bundleReleaseResources FAILED
> Task :app:mergeReleaseShaders UP-TO-DATE
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets UP-TO-DATE
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:mergeReleaseJniLibFolders UP-TO-DATE
> Task :app:mergeReleaseNativeLibs UP-TO-DATE
> Task :app:stripReleaseDebugSymbols UP-TO-DATE
> Task :app:collectReleaseDependencies UP-TO-DATE
> Task :app:configureReleaseDependencies UP-TO-DATE
> Task :app:parseReleaseIntegrityConfig UP-TO-DATE
> Task :app:validateSigningRelease UP-TO-DATE

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.
         
     C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.
         

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:bundleReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.
         
     C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.
         

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. 

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5m 36s
29 actionable tasks: 2 executed, 27 up-to-date
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5m 36s 29 actionable tasks: 2 executed, 27 up-to-date

Bien... veo el archivo Androidmanifest.xml --> Merged Manifest y los siguientes errores son de Mercado pago y razorpay.

Merge Errors Error: android:exported needs to be explicitly specified for element <activity#com.mercadopago.android.px.internal.features.checkout.CheckoutActivity>. 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. Android_08-01-2022.app main manifest (this file), line 37 Error: android:exported needs to be explicitly specified for element <activity#com.razorpay.CheckoutActivity>. 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. Android_08-01-2022.app main manifest (this file), line 17 Error: android:exported needs to be explicitly specified for element <receiver#com.razorpay.RzpTokenReceiver>. 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. Android_08-01-2022.app main manifest (this file), line 11 

A continuación Todo lo que hice para tratar de solucionar y sigue el problema.

Invalidate caches crean project rebuild project Actualizar razorpay y mercado pago... implementation 'com.mercadopago.android.px:checkout:4.53.1' la actualice a implementation 'com.mercadopago.android.px:checkout:4.53.2'

repositories {
    maven { url "https://dl.bintray.com/hani-momanii/maven" }
//    maven { url 'https://maven.fabric.io/public' }
    maven { url "https://jitpack.io" }
    maven { url 'https://artifacts.mercadolibre.com/repository/android-releases/'  }

Este error al tratar de construir la app signed para subir a playstore actulizando MercadoPago

Executing tasks: [:app:bundleRelease] in project C:\Users\milo\Desktop\APPAN BKP\1\Android 08-01-2022

Starting Gradle Daemon... Gradle Daemon started in 16 s 572 ms

Configure project :app WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin. WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin.

Task :app:preBuild UP-TO-DATE Task :app:preReleaseBuild UP-TO-DATE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseResValues UP-TO-DATE Task :app:generateReleaseResources UP-TO-DATE Task :app:processReleaseGoogleServices UP-TO-DATE Task :app:mergeReleaseResources UP-TO-DATE Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE Task :app:extractDeepLinksRelease UP-TO-DATE Task :app:processReleaseManifest UP-TO-DATE Task :app:checkReleaseDuplicateClasses UP-TO-DATE Task :app:compileReleaseAidl NO-SOURCE Task :app:generateReleaseBuildConfig UP-TO-DATE Task :app:prepareLintJar UP-TO-DATE Task :app:prepareLintJarForPublish UP-TO-DATE Task :app:generateReleaseSources UP-TO-DATE Task :app:dataBindingExportBuildInfoRelease UP-TO-DATE Task :app:dataBindingExportFeaturePackageIdsRelease UP-TO-DATE Task :app:dataBindingMergeDependencyArtifactsRelease UP-TO-DATE Task :app:dataBindingMergeGenClassesRelease UP-TO-DATE Task :app:dataBindingGenBaseClassesRelease UP-TO-DATE Task :app:javaPreCompileRelease UP-TO-DATE Task :app:bundleReleaseResources Task :app:processReleaseResources AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n ","tool":"AAPT"} AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n ","tool":"AAPT"}

Task :app:bundleReleaseResources AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n ","tool":"AAPT"} AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n ","tool":"AAPT"}

Task :app:processReleaseResources FAILED Task :app:desugarReleaseFileDependencies UP-TO-DATE Task :app:mergeExtDexRelease UP-TO-DATE Task :app:bundleReleaseResources FAILED Task :app:mergeReleaseShaders UP-TO-DATE Task :app:compileReleaseShaders NO-SOURCE Task :app:generateReleaseAssets UP-TO-DATE Task :app:mergeReleaseAssets UP-TO-DATE Task :app:processReleaseJavaRes NO-SOURCE Task :app:mergeReleaseJniLibFolders UP-TO-DATE Task :app:mergeReleaseNativeLibs UP-TO-DATE Task :app:stripReleaseDebugSymbols UP-TO-DATE Task :app:collectReleaseDependencies UP-TO-DATE Task :app:configureReleaseDependencies UP-TO-DATE Task :app:parseReleaseIntegrityConfig UP-TO-DATE Task :app:validateSigningRelease UP-TO-DATE

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:processReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\milo.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.

 C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.
     
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

2: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:bundleReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\milo.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.

 C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.
     
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5m 36s 29 actionable tasks: 2 executed, 27 up-to-date

Bien... veo el archivo Androidmanifest.xml --> Merged Manifest y los siguientes errores son de Mercado pago y razorpay.

Merge Errors Error: android:exported needs to be explicitly specified for element <activity#com.mercadopago.android.px.internal.features.checkout.CheckoutActivity>. 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. Android_08-01-2022.app main manifest (this file), line 37 Error: android:exported needs to be explicitly specified for element <activity#com.razorpay.CheckoutActivity>. 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. Android_08-01-2022.app main manifest (this file), line 17 Error: android:exported needs to be explicitly specified for element <receiver#com.razorpay.RzpTokenReceiver>. 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. Android_08-01-2022.app main manifest (this file), line 11

A continuación Todo lo que hice para tratar de solucionar y sigue el problema.

  • Invalidate caches
  • crean project
  • rebuild project
  • Actualizar razorpay y mercado pago...
  • implementation 'com.mercadopago.android.px:checkout:4.53.1' la actualice a implementation 'com.mercadopago.android.px:checkout:4.53.2'
     repositories {
         maven { url "https://dl.bintray.com/hani-momanii/maven" }
     //    maven { url 'https://maven.fabric.io/public' }
         maven { url "https://jitpack.io" }
         maven { url 'https://artifacts.mercadolibre.com/repository/android-releases/'  }

Este error al tratar de construir la app signed para subir a playstore actulizando MercadoPago

Executing tasks: [:app:bundleRelease] in project C:\Users\milo\Desktop\APPAN BKP\1\Android 08-01-2022

Starting Gradle Daemon...
Gradle Daemon started in 16 s 572 ms

> Configure project :app
WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.
It will be removed in version 5.0 of the Android Gradle plugin.
WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.
It will be removed in version 5.0 of the Android Gradle plugin.

> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseResValues UP-TO-DATE
> Task :app:generateReleaseResources UP-TO-DATE
> Task :app:processReleaseGoogleServices UP-TO-DATE
> Task :app:mergeReleaseResources UP-TO-DATE
> Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :app:extractDeepLinksRelease UP-TO-DATE
> Task :app:processReleaseManifest UP-TO-DATE
> Task :app:checkReleaseDuplicateClasses UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:generateReleaseBuildConfig UP-TO-DATE
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:prepareLintJarForPublish UP-TO-DATE
> Task :app:generateReleaseSources UP-TO-DATE
> Task :app:dataBindingExportBuildInfoRelease UP-TO-DATE
> Task :app:dataBindingExportFeaturePackageIdsRelease UP-TO-DATE
> Task :app:dataBindingMergeDependencyArtifactsRelease UP-TO-DATE
> Task :app:dataBindingMergeGenClassesRelease UP-TO-DATE
> Task :app:dataBindingGenBaseClassesRelease UP-TO-DATE
> Task :app:javaPreCompileRelease UP-TO-DATE
> Task :app:bundleReleaseResources
> Task :app:processReleaseResources
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n    ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n    ","tool":"AAPT"}

> Task :app:bundleReleaseResources
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n    ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n    ","tool":"AAPT"}

> Task :app:processReleaseResources FAILED
> Task :app:desugarReleaseFileDependencies UP-TO-DATE
> Task :app:mergeExtDexRelease UP-TO-DATE
> Task :app:bundleReleaseResources FAILED
> Task :app:mergeReleaseShaders UP-TO-DATE
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets UP-TO-DATE
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:mergeReleaseJniLibFolders UP-TO-DATE
> Task :app:mergeReleaseNativeLibs UP-TO-DATE
> Task :app:stripReleaseDebugSymbols UP-TO-DATE
> Task :app:collectReleaseDependencies UP-TO-DATE
> Task :app:configureReleaseDependencies UP-TO-DATE
> Task :app:parseReleaseIntegrityConfig UP-TO-DATE
> Task :app:validateSigningRelease UP-TO-DATE

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.
         
     C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.
         

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:bundleReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.
         
     C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.
         

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. 

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5m 36s
29 actionable tasks: 2 executed, 27 up-to-date
Actualización del problema
Origen Enlace
Milo
  • 11
  • 3

Este error al tratar de construir la app signed para subir a playstore actulizando MercadoPago

Executing tasks: [:app:bundleRelease] in project C:\Users\milo\Desktop\APPAN BKP\1\Android 08-01-2022

Starting Gradle Daemon... Gradle Daemon started in 16 s 572 ms

Configure project :app WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin. WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin.

Task :app:preBuild UP-TO-DATE Task :app:preReleaseBuild UP-TO-DATE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseResValues UP-TO-DATE Task :app:generateReleaseResources UP-TO-DATE Task :app:processReleaseGoogleServices UP-TO-DATE Task :app:mergeReleaseResources UP-TO-DATE Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE Task :app:extractDeepLinksRelease UP-TO-DATE Task :app:processReleaseManifest UP-TO-DATE Task :app:checkReleaseDuplicateClasses UP-TO-DATE Task :app:compileReleaseAidl NO-SOURCE Task :app:generateReleaseBuildConfig UP-TO-DATE Task :app:prepareLintJar UP-TO-DATE Task :app:prepareLintJarForPublish UP-TO-DATE Task :app:generateReleaseSources UP-TO-DATE Task :app:dataBindingExportBuildInfoRelease UP-TO-DATE Task :app:dataBindingExportFeaturePackageIdsRelease UP-TO-DATE Task :app:dataBindingMergeDependencyArtifactsRelease UP-TO-DATE Task :app:dataBindingMergeGenClassesRelease UP-TO-DATE Task :app:dataBindingGenBaseClassesRelease UP-TO-DATE Task :app:javaPreCompileRelease UP-TO-DATE Task :app:bundleReleaseResources Task :app:processReleaseResources AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n ","tool":"AAPT"} AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n ","tool":"AAPT"}

Task :app:bundleReleaseResources AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n ","tool":"AAPT"} AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n ","tool":"AAPT"}

Task :app:processReleaseResources FAILED Task :app:desugarReleaseFileDependencies UP-TO-DATE Task :app:mergeExtDexRelease UP-TO-DATE Task :app:bundleReleaseResources FAILED Task :app:mergeReleaseShaders UP-TO-DATE Task :app:compileReleaseShaders NO-SOURCE Task :app:generateReleaseAssets UP-TO-DATE Task :app:mergeReleaseAssets UP-TO-DATE Task :app:processReleaseJavaRes NO-SOURCE Task :app:mergeReleaseJniLibFolders UP-TO-DATE Task :app:mergeReleaseNativeLibs UP-TO-DATE Task :app:stripReleaseDebugSymbols UP-TO-DATE Task :app:collectReleaseDependencies UP-TO-DATE Task :app:configureReleaseDependencies UP-TO-DATE Task :app:parseReleaseIntegrityConfig UP-TO-DATE Task :app:validateSigningRelease UP-TO-DATE

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:processReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\milo.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.

> Task :app:bundleReleaseResources
> Task :app:bundleReleaseResources
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"CC:\\Users\\milo\\\Users\milo\.gradle\\caches\\transformsgradle\caches\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\\res\\values\\values0\res\values\values.xml:19802520:5-19902526:11: AAPT: error: expected enum but got (raw string) slidefade.\n  
   ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

2: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:bundleReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\milo.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.

 failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"CC:\\Users\\milo\\\Users\milo\.gradle\\caches\\transformsgradle\caches\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\\res\\values\\values0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n 
    ","tool":"AAPT"} 
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

Este error al tratar de construir la app signed para subir a playstore actulizando MercadoPagoDeprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5m 36s 29 actionable tasks: 2 executed, 27 up-to-date

Alguna ayuda??

> Task :app:bundleReleaseResources
> Task :app:bundleReleaseResources
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n    ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\\Users\\milo\\.gradle\\caches\\transforms-3\\8322820d8bc0952240c250b2101fdea0\\transformed\\material-1.3.0\\res\\values\\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n    ","tool":"AAPT"}

Este error al tratar de construir la app signed para subir a playstore actulizando MercadoPago

Este error al tratar de construir la app signed para subir a playstore actulizando MercadoPago

Executing tasks: [:app:bundleRelease] in project C:\Users\milo\Desktop\APPAN BKP\1\Android 08-01-2022

Starting Gradle Daemon... Gradle Daemon started in 16 s 572 ms

Configure project :app WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin. WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin.

Task :app:preBuild UP-TO-DATE Task :app:preReleaseBuild UP-TO-DATE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseResValues UP-TO-DATE Task :app:generateReleaseResources UP-TO-DATE Task :app:processReleaseGoogleServices UP-TO-DATE Task :app:mergeReleaseResources UP-TO-DATE Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE Task :app:extractDeepLinksRelease UP-TO-DATE Task :app:processReleaseManifest UP-TO-DATE Task :app:checkReleaseDuplicateClasses UP-TO-DATE Task :app:compileReleaseAidl NO-SOURCE Task :app:generateReleaseBuildConfig UP-TO-DATE Task :app:prepareLintJar UP-TO-DATE Task :app:prepareLintJarForPublish UP-TO-DATE Task :app:generateReleaseSources UP-TO-DATE Task :app:dataBindingExportBuildInfoRelease UP-TO-DATE Task :app:dataBindingExportFeaturePackageIdsRelease UP-TO-DATE Task :app:dataBindingMergeDependencyArtifactsRelease UP-TO-DATE Task :app:dataBindingMergeGenClassesRelease UP-TO-DATE Task :app:dataBindingGenBaseClassesRelease UP-TO-DATE Task :app:javaPreCompileRelease UP-TO-DATE Task :app:bundleReleaseResources Task :app:processReleaseResources AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n ","tool":"AAPT"} AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n ","tool":"AAPT"}

Task :app:bundleReleaseResources AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":1979,"startColumn":4,"startOffset":137268,"endLine":1989,"endColumn":10,"endOffset":138036}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.\n ","tool":"AAPT"} AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml","position":{"startLine":2519,"startColumn":4,"startOffset":171462,"endLine":2525,"endColumn":10,"endOffset":171916}}],"original":"C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade.\n ","tool":"AAPT"}

Task :app:processReleaseResources FAILED Task :app:desugarReleaseFileDependencies UP-TO-DATE Task :app:mergeExtDexRelease UP-TO-DATE Task :app:bundleReleaseResources FAILED Task :app:mergeReleaseShaders UP-TO-DATE Task :app:compileReleaseShaders NO-SOURCE Task :app:generateReleaseAssets UP-TO-DATE Task :app:mergeReleaseAssets UP-TO-DATE Task :app:processReleaseJavaRes NO-SOURCE Task :app:mergeReleaseJniLibFolders UP-TO-DATE Task :app:mergeReleaseNativeLibs UP-TO-DATE Task :app:stripReleaseDebugSymbols UP-TO-DATE Task :app:collectReleaseDependencies UP-TO-DATE Task :app:configureReleaseDependencies UP-TO-DATE Task :app:parseReleaseIntegrityConfig UP-TO-DATE Task :app:validateSigningRelease UP-TO-DATE

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:processReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\milo.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.

 C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade. 
     
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

2: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:bundleReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\milo.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:1980:5-1990:11: AAPT: error: expected enum but got (raw string) slide.

 C:\Users\milo\.gradle\caches\transforms-3\8322820d8bc0952240c250b2101fdea0\transformed\material-1.3.0\res\values\values.xml:2520:5-2526:11: AAPT: error: expected enum but got (raw string) fade. 
     
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5m 36s 29 actionable tasks: 2 executed, 27 up-to-date

Alguna ayuda??

Origen Enlace
Milo
  • 11
  • 3
Loading