As it is written in Mobile OCR helpfile→Wrapper for Android→Licensing→License, the object of the BadLicenseException type is thrown if the license is invalid. So probably some license parameters were incorrect during FileLicense class creation.
As it is described in our Mobile OCR helpfile→Wrapper for Android→Licensing→FileLicense article, the FileLicense class contains the following parameters:
final DataSource dataSource, // The source of the license file
final String fileName, // The path to the license file relative to the source specified in the dataSource parameter
final String applicationId // A string containing the application identification.
So the FileLicense class creation could look like:
new FileLicense(assetDataSource, "D:\%AndroidApplication%\%\License\ABCD00000000000000.ABBYY.License", "your_ApplicationID");
We hope this information will be useful. Please inform us about the results.