MicroStrategy ONE

Set Up the Library Mobile Project for Android

Before you can perform customizations, you must first install the Android development environment. Then, you can set up the MicroStrategy Library Mobile for Android project, as described below.

  1. Get the project folder  

  2. Import the project folders into the workspace  

  3. Change the application ID (optional)  

  4. Build the project to confirm that it compiles and deploys successfully

A detailed explanation of how to perform each step is provided below.

  1. Get the project folder 

    1. Go to the MicroStrategy Download site and download the latest MicroStrategy Library Mobile SDK file for Android. 

      The latest Mobile SDK may or may not be the same version as the version of Intelligence Server you are using.

    2. Copy the project folder ZIP file—MicroStrategyLibraryMobile.zip—from the downloaded folder to your local machine. 
    3. Extract the project folder—MicroStrategyLibraryMobile—included in the ZIP file. 
  2. Import the project folder into the workspace

    1. Open Android Studio.
    2. Import the project—MicroStrategyLibraryMobile. Choose File > New > Import Project
  3. Change the Application ID (optional)

    By default, the Application ID is com.microstrategy.android.library.samples. If you want to change it, do the following:

    1. Open Build.gradle under MicroStrategyLibraryMobile > app
    2. Change the ApplicationID in defaultConfig. For example:
    3. Copy
      defaultConfig{
         applicationID 'com.microstrategy.android.library.samples'
         versionCode 1
         versionName "1.0"
      }
  4. Build the project to confirm that the application compiles and deploys successfully 

    1. Build the project. 

    2. Run the compiled application on a device or simulator to confirm that the apk you built can run successfully.

Once you have done this, your project is ready to be customized.