Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Setting Up the Android Platform : Configuring Mobile Designer for the Android SDK
Configuring Mobile Designer for the Android SDK
After installing the Android SDK, you need to configure Mobile Designer to provide information about the SDK.
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.package
Set to the default package prefix that Mobile Designer uses when creating the final build for an Android device.
android.bin.dir.root
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.
*For Windows: C:/Users/<your username>/AppData/Local/Android/Sdk
*For Mac: /Users/<your username>/Library/Android/sdk
android.studio.temp.build.dir
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.
*For Windows: C:/mdtmp
android.studio.install.dir
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.
*For Windows: C:/Program Files/Android/Android Studio
*For Mac: /Applications/Android Studio.app/Contents
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 21 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.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback