Skip to content

Android

This guides the Hive SDK Android app build settings.

Configure language resource (optional)

If the app size is too large, you can delete unused language resources to reduce the app size. If you want to delete unused language resources from the 16 languages supported by the Hive SDK, specify only the languages you actually use in the resConfigs property of the Android Gradle plugin. All language resources not specified in this property will be deleted from the app. The following code shows how to limit language resources to English and Korean.

android {
   defaultConfig {
       ...
       resConfigs "en", "ko"
   }
}