Support Article
Error occurs and the mobile build fails
SA-86515
Summary
Error occurs and the mobile build fails.
Error Messages
[rver Client Thread 1] [STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec] /Users/bs/mobilebuildserver/slaves/android/workspace/build-android/build/modules/browserModule/build/intermediates/res/merged/release/values-v28/values-v28.xml:7:41-73: AAPT: No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius').
[rver Client Thread 1] [STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec]
[rver Client Thread 1] [STANDARD] [ ] [ ] (build.DefaultBuildServerClient) INFO - [customization] [exec] Failed to generate resource table for split
Steps to Reproduce
- Set up a mobile application with custom modules.
- Build the application with the current Pega Mobile Client (PMC).
Root Cause
The current version of PMC uses SDK 28 and the custom modules have gradle files that reference SDK 26.
Resolution
Perform the following local-change:
Modify the custom module gradle files to reference these settings for the current PMC (7.41.5.+).
android.compileSdkVersion=28
android.buildToolsVersion=28.0.3
android.minSdkVersion=15
android.targetSdkVersion=28
Published August 15, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.