Question

3
Replies
161
Views
AnandrajT7685 Member since 2018 5 posts
Estes
Posted: 1 year ago
Last activity: 1 year ago
Closed
Solved

Mobile Build Failure

Hi All,

We are trying to rebuild the APK with our custom module with a new Hybrid Client container. It is failing with the below exception.

2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec] ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec] ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:ttcIndex
2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec]
2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec]
2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec] FAILURE: Build failed with an exception.
2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec]
2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec] * What went wrong:
2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec] Execution failed for task ':modules:Scanbot:processReleaseResources'.
2019-07-14 00:55:33,679 [rver Client Thread 1] [ STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec] > com.android.ide.common.process.ProcessException: Failed to execute aapt

Things tried:

1. Recompile the custom module with the latest available HC client by following the below link. But without much success.

https://community.pega.com/knowledgebase/developing-custom-modules-android-pega-719#custom_modules_android_template

Any inputs will be of great help.

Regards,

Anand

***Edited by Moderator: Lochan to add SR tag***

Mobile SR Exists
Moderation Team has archived post
Share this page LinkedIn