This guide will provide you with information on the specific differences involved in developing for the X2 platform, and how to enhance the user experience by optimizing your app for the X2’s heads-up display and advanced User Interface.
This guide assumes that you possess a working knowledge of the Java programming language, and the Android Software Development Kit. You can reference the official Android Software Developer Guides to learn the basics of developing apps for the Android platform.
Important Note: The X2 is not compatible with Google Play or associated Google Mobile Services (GMS). If your app requires connection to GMS-based services (ARCore, Firebase, Google Translate, Google Speech Recognition, etc), it will not be able to access those resources while running on the X2.
To ensure compatibility, and to improve the accuracy of the screen previews provided in Android Studio, use the following settings/parameters while developing your app for the X2. In your app module’s build.gradle file, set “compileSdkVersion” to “28, set “minSdkVersion” to “27”, and set “targetSdkVersion” to “28”. When utilizing the layout preview window in Android Studio, use the following settings:
Orientation for Preview: Landscape
Device for Preview: TV(720p)
Screen Mirroring for Debugging/Testing on the X2
For testing/debugging on your X2 device, especially during periods of debugging prior to usability testing, we recommend using a screen-mirroring tool, like Vysor or scrcpy, to view/interact with your X2 via computer screen and mouse/keyboard. You can download the latest free versions here: