本文介绍了我想保存两个文件,但其中一个不保存(android编程)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

但我收到此错误消息:



But I get this error message:

Quote:

java。 lang.RuntimeException:将结果ResultInfo {who = null,request = 0,result = -1,data = null}传递给activity {com.m.finalocr / com.m.finalocr.MainActivity}:java.lang.IllegalArgumentException:在/storage/emulated/0/FinalOcr/tessdata/fas.traineddata找不到数据文件

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=-1, data=null} to activity {com.m.finalocr/com.m.finalocr.MainActivity}: java.lang.IllegalArgumentException: Data file not found at /storage/emulated/0/FinalOcr/tessdata/fas.traineddata





我在Android上不专业,认为我的代码没有不保存fas.traineddata文件,但不知道如何修复它?



我尝试过:



但我收到此错误消息:





I am not professional on Android and think my code doesn't save the fas.traineddata file, but don't know how to fix it?

What I have tried:

But I get this error message:

Quote:

java.lang.RuntimeException:将结果ResultInfo {who = null,request = 0,result = -1,data = null}传递给activity {com.m.finalocr / com.m.finalocr .MainActivity}:java.lang.IllegalArgumentException:在/storage/emulated/0/FinalOcr/tessdata/fas.train找不到数据文件eddata

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=-1, data=null} to activity {com.m.finalocr/com.m.finalocr.MainActivity}: java.lang.IllegalArgumentException: Data file not found at /storage/emulated/0/FinalOcr/tessdata/fas.traineddata





我在Android上不专业,认为我的代码没有保存fas.traineddata文件,但不知道如何修复它?



I am not professional on Android and think my code doesn't save the fas.traineddata file, but don't know how to fix it?

推荐答案


这篇关于我想保存两个文件,但其中一个不保存(android编程)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 07:04