SYMPTOM:
When attempting to build Strategy Mobile 9.4.1 SDK for Android, the following error messages are seen:
Errors
C:\....\StrategyMobileLibrary\res\layout\main.xml:98: error: No resource identifier found for attribute 'textAlignment' in package 'android'
C:\....\StrategyMobileLibrary\res\layout-port\main.xml:92: error: No resource identifier found for attribute 'textAlignment' in package 'android'
C:\....\StrategyMobileLibrary\res\layout\main.xml:98: error: No resource identifier found for attribute 'textAlignment' in package 'android'
C:\....\StrategyMobileLibrary\res\layout-port\main.xml:92: error: No resource identifier found for attribute 'textAlignment' in package 'android'
C:\....\StrategyMobileLibrary\res\layout\main.xml:98: error: No resource identifier found for attribute 'textAlignment' in package 'android'
C:\....\StrategyMobileLibrary\res\layout-port\main.xml:92: error: No resource identifier found for attribute 'textAlignment' in package 'android'
C:\....\StrategyMobileLibrary\res\layout\main.xml:98: error: No resource identifier found for attribute 'textAlignment' in package 'android'
C:\....\StrategyMobileLibrary\res\layout-port\main.xml:92: error: No resource identifier found for attribute 'textAlignment' in package 'android'
Error
No resource identifier found for attribute 'textAlignment' in package 'android'
CAUSE:
The project is being built with Android Version 4.1.2. The Strategy Mobile for Android SDK 9.4.1 is only certified with Android Version 4.2.x.
Further information: this specific error is because textAlignment was introduced in the Android API level 17 (Android 4.2).
ACTION:
Ensure that a Android 4.2.x SDK version is being used. This can be changed within Projects -> Properties -> Android:
