HERE Android SDK Developer's Guide

Size Management

This section provides tips on reducing the size of the HERE SDK so your application uses less storage on consumer devices.

Remove Unused Font Files

By default, the HERE Android SDK includes a number of font files to support different languages. These files may range from a few hundred kilobytes to a few megabytes in size. You can exclude unused font files to reduce the size of your HERE SDK-enabled application.

To exclude HERE SDK font files, perform these steps:
  1. From the Android Studio "Project" Tool Window (Alt+1 on Windows or Linux, Command+1 on Mac), select the "Project Files" view and navigate to the app folder to reveal its contents.
  2. Double-click on the build.gradle file to open it for editing.
  3. In the android { ... } section, add packagingOptions so that it looks like the following:
    android {
      ...
      packagingOptions {
        exclude '/lib/armeabi-v7a/libNanumGothicFontPkg.so'
        exclude '/lib/armeabi-v7a/libLohitIndicFontPkg.so'
        exclude '/lib/armeabi-v7a/libChineseFontPkg.so'
      }
      ...
    }
    Note:
    • The "Chinese" font package supports Chinese characters.
    • "Nanum Gothic" supports Korean characters.
    • "Lohit Indic" supports Indic scripts.

After completing these steps, your application consumes less space when it is installed on a device. The maximum amount that you can save with these steps is approximately 5MB.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.