EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB47930: "No resource identifier found for attribute 'textAlignment' in package 'android'" Appears the Console when Building the MicroStrategy Mobile 9.4.1 SDK for Android


Community Admin

• Strategy


This article describes an issue that occurs when building a project with Android Version 4.1.2

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:

ka04W000000OhL1QAK_0EM440000002GTa.png

Comment

0 comments

Details

Knowledge Article

Published:

May 25, 2017

Last Updated:

May 25, 2017