Build android app failed

Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details

:app:mergeProdMinSdkProdKernelReleaseResources FAILED

[stderr] warning: Attempt to recreate a file for type com.raizlabs.android.dbflow.config.ExponentKernel$Database

[stderr] warning: Attempt to recreate a file for type com.raizlabs.android.dbflow.config.ExponentKernel$Database

[stderr] warning: File for type 'com.raizlabs.android.dbflow.config.GeneratedDatabaseHolder' created in the last round will not be subject to annotation processing.

[stderr] Note: Some input files use or override a deprecated API.

[stderr] Note: Recompile with -Xlint:deprecation for details.

[stderr] Note: Some input files use unchecked or unsafe operations.

[stderr] Note: Recompile with -Xlint:unchecked for details.

[stderr] 3 warnings

[stderr] FAILURE: Build failed with an exception.

[stderr] * What went wrong:

[stderr] Execution failed for task ':app:mergeProdMinSdkProdKernelReleaseResources'.

[stderr] > Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details

[stderr] * Try:

[stderr] Run with --stacktrace

[stderr] option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

[stderr] * Get more help at https://help.gradle.org

[stderr] BUILD FAILED in 5m 0s

690 actionable tasks: 690 executed

Error: Process exited with non-zero code: 1 at ChildProcess.child.on (/app/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:915:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.