Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The SDK is shipped as an archive that only needs to be unpacked. All sample applications are ready as Debug build only. The SDK includes all relevant files, libraries and framework frameworks that are required to compile the sample project. It is only necessary to open the sample project with Android Studio and run the following steps to get started:

  1. Install Android Studio 3.6.1 or later

  2. Setup Android Studio

    1. Go to “File” -> “Settings” -> “Appearance & Behavior”

    2. System Settings -> Android SDK

    3. SDK Platforms

      1. Android 10.0 (Q)

        1. This is your compileSDKVersion

    4. SDK Tools

      1. Android SDK Build Tools -> 29.0.3

      2. GPU Debugging tools

      3. LLDB 

      4. NDK (Side by side) min. 21.3.6528147

      5. CMake (3.10.2.4988404

      6. Android SDK Platform Tools (  latest available version )

      7. Android SDK Tools ( latest available version )

      8. Google USB Driver (  latest available version )

    Start Android Studio

    1. Choose “Open an existing Android Studio project”

    2. Select “YOUR_INSTALATION_FOLDER”/Samples/CFx/ARESSimplified_android/

    3. Build -> Select Build Variant

      1. Choose Active Build Variant (debug )

      2. Choose Active ABI (armeabi-v7a or arm64-v8a)

  3. Gradle

    1. Project Structure -> Project

      1. Android Studio < 4.0

        1. Android Gradle Plugin Version 3.6.4

        2. Gradle Version 5.6.4

      2. Android Studio > 4.0

        1. Android Gradle Plugin Version 4.0.2 or latest

        2. Gradle Version 6.1.1 or latest

  4. Project structure

    1. File -> Project structure

      1. Ensure Android SDK location is set ( by default taken from Android Studio )

      2. Ensure Android NDK location is set ( by default taken from Android Studio)

      3. Ensure JDK location is set

  5. Open the Android sample project

    1. Choose “Open an existing Android Studio project”

    2. Select “YOUR_INSTALATION_FOLDER”/Samples/CFx/ARESSimplified_android/

    3. Build -> Select Build Variant

      1. Choose Active Build Variant (debug)

      2. Choose Active ABI (armeabi-v7a or arm64-v8a)

    4. Go to “Select Run/Debug configuration” and choose one of the provided sample applications

      1. app → DWG Viewer

      2. app_editor → DWG Editor

      3. app_user_input → DWG Expert

  6. Signing Key for Release

    1. Keystore file '“YOUR_INSTALATION_FOLDER”\Samples\CFx\ARESSimplified_android\app\YOUR_KEY_STORE_FILE.keystore' not found for signing config 'YOUR_SIGNING_CONFIG'.

    2. You need to create your own signing key that is required to compile the release build and to deploy/publish it in the Google App Store.

Note: All used package names are for demonstration purpose only and are not designed for production. Please register your own app and package name via the Google Developer console.

Link: https://developer.android.com/distribute/console