To develop applications compatible with both Android and MicroEJ VEE, it is required to use MICROEJ SDK 6. The MICROEJ SDK provides Gradle plugins that allow for seamless integration in Android Studio.

For comprehensive installation instructions, read the SDK 6 Installation Guide. Follow the steps related to Android Studio when relevant.

In addition to installing MICROEJ SDK 6, make sure to comply with the requirements listed below.

JDK Version

The Android Compatibility Kit, like MICROEJ SDK 6, is compatible with a JDK 11 or higher LTS version. The JDK version to use will depend on the Android Gradle Plugin (AGP) being used by your Android project. Starting from version 8, AGP requires a minimum JDK 17. If you intend to use JDK 11, you will need to specify a compatible version of AGP (e.g., 7.4.2). Refer to the Android Gradle plugin release notes for more information.

Configure Repositories

The SDK 6 repositories configuration references the MicroEJ module repositories which are required for resolving the SDK Gradle plugins and modules. Working with Android plugins and modules involves extending this configuration to include additional repositories that are essential for Android development.

  • download and copy this file in <user.home>/.gradle/init.d/.