This topic describes how to create a local app, compile and package the app, and then obtain an executable
.apk package in Windows-based development environments.
First you need to:
- Configure a development environment
- Create an mPaaS app in the console.
- Make sure that the version of your SDK is 10.1.60-beta or later.
The creation procedure is as follows:
- In Android Studio, choose File > New > Start a New mPaaS Project.
- In the Create New mPaaS Project dialog box, select mPaaS Inside and click Next.
In the dialog box that appears, enter the Project name and Package name. From the Configuration file path drop-down list, select the configuration file .config that you downloaded by choosing Manage codes > Code configuration in the console. After you set the Project file path to the desired directory for the project, click Next.Note: You can click Obtain Config File next to Select Config File (JSON) to go to the mPaaS console and download the configuration file.
Select an mPaaS SDK version, and check your desired module dependency. Click the Finish button.Important:
- Please check module dependency as required. For more information about dependencies, refer to the document of each component.
- You can select only the required dependency for the framework. After creating an app, use the mPaaS Plug-in > Component Management function to add you desired dependency.
You can access and use mPaaS components by referring to the access document of each component.