SDK 2.2.x Runtime Error locating com.applause.android.ui.font.FontMontserrat

SDK 2.2.x Runtime Error locating com.applause.android.ui.font.FontMontserrat

v2.2 of the Applause SDK for Android introduced a new UI font. Eclipse/ANT users who have downloaded the Android SDK v2.2 or later may see a runtime error if com.applause.android.ui.font.FontMontserrat can not be found. Fixing this is very easy.

When the SDK is interpreted by Eclipse, Eclipse will generate the below directory structure.

SDK-fonts

The assets folder MUST be placed into the Android application’s main directory. Unfortunately, there is a bug in Eclipse/ANT that prevents the assets folder from being copied to the .apk’s main directory automatically.

To resolve the error, simply manually place the ‘assets’ folder into your Android application’s main directory.