I'm trying to implement mercadopago px, but at run time it returns an error
AAPT2 aapt2-4.1.3-6503028-linux Daemon # 2: Unexpected error during compile
I looked for some solutions Link , some say it is Gradle's mistake and others say it is related to the hardware. One of these solutions was to see the structure of the project and change the version of Gradle to a lower one, the version that did not give this error was (image), but there was an error in the main activity
Actual gradle
Changed Gradle