24
Views
1
Comments
[Document Scanner] App generation is failing on android but not on iOS.
document-scanner
Mobile icon
Forge asset by Breno Nico
Application Type
Mobile

The application is building fine on iOS but runs into a build error on android. Here is the description of the bug in the logs: 

[2023-12-20T20:00:00.623Z] [VERBOSE] [Build] > Task :app:mergeDebugResources

[2023-12-20T20:00:00.623Z] [VERBOSE] [Build] FAILURE: Build completed with 2 failures.

[2023-12-20T20:00:00.723Z] [VERBOSE] [Build] 1: Task failed with an exception.

[2023-12-20T20:00:00.723Z] [VERBOSE] [Build] -----------

[2023-12-20T20:00:00.723Z] [VERBOSE] [Build] * What went wrong:

[2023-12-20T20:00:00.723Z] [VERBOSE] [Build] Execution failed for task ':app:processDebugMainManifest'.

[2023-12-20T20:00:00.723Z] [VERBOSE] [Build] > Manifest merger failed with multiple errors, see logs

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] * Try:

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] > Run with --stacktrace option to get the stack trace.

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] > Run with --info or --debug option to get more log output.

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] > Run with --scan to get full insights.

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] ==============================================================================

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] 2: Task failed with an exception.

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] -----------

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] * What went wrong:

[2023-12-20T20:00:00.724Z] [VERBOSE] [Build] java.lang.StackOverflowError (no error message)

[2023-12-20T20:00:00.725Z] [VERBOSE] [Build] * Try:

[2023-12-20T20:00:00.725Z] [VERBOSE] [Build] > Run with --stacktrace option to get the stack trace.

[2023-12-20T20:00:00.725Z] [VERBOSE] [Build] > Run with --info or --debug option to get more log output.

[2023-12-20T20:00:00.725Z] [VERBOSE] [Build] > Run with --scan to get full insights.

I'm not sure how to make the build logs more verbose than this from within outsystems, so that may help, since issues processing the manifest and a generic stack overflow are difficult to parse when the same application is building fine in iOS. I can paste the full logs if more detail is needed. 

2021-04-09 11-42-43
assif_tiger
 
MVP

Hi Jake,

The information provided is not sufficient for anyone here to come up with a solution :)
Better post the mobile app build service log.
You can refer below document to get the same.

https://success.outsystems.com/support/troubleshooting/getting_logs_for_troubleshooting_purposes/mobile_app_generation_logs/


Good luck

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.