遵循 android 包装器的 abbyy 设置。显然错过了设置中的某些内容,因为在创建引擎实例时出现以下错误。
在android中执行以下代码时出现以下错误:
final AssetDataSource ad = new AssetDataSource(ctx.getAssets());
final List<DataSource> dataSources = new ArrayList<DataSource>();
dataSources.add(ad);
DataFilesExtensions dfe = new DataFilesExtensions(".mp3",".mp3",".mp3");
String LicenseFile = "";
try {
Engine.createInstance(dataSources, new FileLicense(ad,LicenseFile,appID),dfe);
产生以下错误(logcat):
01-09 20:54:49.405: W/dalvikvm(3514): No implementation found for native Lcom/abbyy/mobile/ocr4/DataArray;.create (I)Z
01-09 20:54:49.522: E/DataArray(3514): java.lang.UnsatisfiedLinkError: create
01-09 20:54:49.522: W/dalvikvm(3514): No implementation found for native Lcom/abbyy/mobile/ocr4/DataArray;.pushChunk ([BI)V