Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Setting Up Platforms | Setting Up the Android Platform | Configuring Mobile Designer for the Android SDK
 
Configuring Mobile Designer for the Android SDK
If you selected default location when installing Android SDK, you must configure Mobile Designer to provide information about the Android Studio installation path.
*To configure Mobile Designer for the Android SDK
1. Use a text editor to open the following file:
Mobile Designer_directory /sdk.properties
2. Locate the Android section of the file.
3. Set the values for the properties in the following table.
Note:
When specifying paths in the sdk.properties file, use a forward slash character ("/") or an escaped slash character ("\\") to separate folders, even when specifying Window paths.
Property and Setting
android.studio.install.dir
Optional. Nominates the install directory for the Android Studio IDE. This will be used to find templates and scripts used to create the Android Studio project structure. Set this property only if you changed the default installation location. The defaults are:
*For Windows: C:/Program Files/Android/Android Studio
*For Mac: /Applications/Android Studio.app/Contents
android.package
Set to the default package prefix that Mobile Designer uses when creating the final build for an Android device.
android.bin.dir.root
Optional. Set to the path of the location of the default Android SDK that you want Mobile Designer to use to compile mobile applications for Android devices. Use this property only if you have to use standalone Android SDK. By default, Android SDK installed with Android Studio will be used.
*For Windows: C:/Users/<your username>/AppData/Local/Android/Sdk
*For Mac: /Users/<your username>/Library/Android/sdk
android.studio.temp.build.dir
Optional (Windows only). With Windows PCs, the combination of file and folder names created during the build process may go over the character limit allowed (approx. 240 characters). This will cause unexpected build failures. Use the android.studio.temp.build.dir property to nominate a folder with a short path that can be used as a temporary build directory. Use this property only if you want to change the default value. The default is C:/mdtemp.
4. Optionally, if you want to override default values for a project, set the project property project.android.sdk.version.override to the API number you want to use.
Note:
Using an API earlier than 23 may cause failed builds.
5. Optionally configure Proguard, which is included in the Android SDK. For information about the properties you need to set to configure Proguard, see Proguard Obfuscator Settings.
6. Save and close the file.