我要评分
获取效率
正确性
完整性
易理解

Configuring the Development Environment

  1. Open a project.
    1. Install Android Studio (AS) on Windows. The recommended version is 4.0.1.
    2. Start AS.
    3. Open the demo AppUI project.
    4. On the toolbar, choose File > Open to open the provided AppUI project.

    The directory structure of the project is defined as follows:

    • src: code directory
    • res: resource directory, including icons, images, layouts, and character strings used by the app.
    • gradle: gradle plugin configuration directory
    • build.gradle: gradle build script
    • libs: directory for storing the referenced .aar file
  2. Obtain engine packages.

    The software package of the instruction stream engine is BoostKit-instructionengine_*.zip, and that of the audio and touch engines is BoostKit-baseengine_*.zip. To obtain these packages, see Obtaining Software Packages.

  3. Decompress the engine packages to obtain the following dynamic libraries, header files, and .aar packages, and save the prepared .so packages, header files, and .aar packages to the demo AppUI project.

  4. Import the .aar or .so packages to the demo AppUI project based on Developing a Communication Module.

    libCommunication.so is an example communication module. You can import the communication module developed by yourself.

  5. Configure gradle 7.4.
    1. Download gradle-7.4-all.zip.
    2. Change the value of distributionUrl in the AppUI/gradle/wrapper/gradle-wrapper.properties file to the location of gradle-7.4-all.zip.

  6. Configure the Android SDK.

    If some of the following steps have been performed, skip them and go to the next step.

    1. On the Android Studio, choose File > Settings.
    2. Search for sdk in the search box and select Android SDK. The SDK management page is displayed.

    3. On the SDK Platforms tab page, choose Android SDK platform 32, rev 1.

    4. On the NDK (Side by side) tab page, select 23.1.7779620.

    5. On the CMake tab page, select 3.22.1.

    6. Change the CMake version in AppUI\app\build.gradle to 3.22.1.