Hey guys, I have downloaded the newest version of pocketsphinx und imported it into eclipse. Building worked perfect but if I'm starting the app on my HTC one I get the well known filenotfoundexception .
Is there already a solution?
Best regards jul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HTC One 4.4.2 Oroginal HTC Sense ROM
All the files in assets. Can post the logcat later. I tought that the oinformations are enough because many people have this exact issue with the files.
Last edit: JuLoOr 2014-08-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey guys, I have downloaded the newest version of pocketsphinx und imported it into eclipse. Building worked perfect but if I'm starting the app on my HTC one I get the well known filenotfoundexception .
Is there already a solution?
Best regards jul
http://cmusphinx.sourceforge.net/wiki/tutorialandroid
Everything is in The assets folder and the pocketsphinx demo should work out of the box?
Hello JuLoOr
Please provide more information:
1) Exact phone model
2) Android version
3) What exactly file is missing. When you report about exceptions it's better to provide their exact text, not just their name.
4) Contents of logcat output.
Remember, the more information you provide the faster you get an answer.
If you miss files with md5 extension it seems like you didn't import Eclipse project properly and it is missing custom builder.
It should.
HTC One 4.4.2 Oroginal HTC Sense ROM
All the files in assets. Can post the logcat later. I tought that the oinformations are enough because many people have this exact issue with the files.
Last edit: JuLoOr 2014-08-14
You need to provide information on what file is actually missing.
The problem is in the asynctask. It catches exception an writes failed to init...
new AsyncTask<void, void,="" exception="">() {
@Override
protected Exception doInBackground(Void... params) {
try {
Assets assets = new Assets(PocketSphinxActivity.this);
File assetDir = assets.syncAssets();
setupRecognizer(assetDir);
} catch (IOException e) {
return e;
}
return null;
}</void,>
Last edit: JuLoOr 2014-08-15
And now i get the error :
"org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
??
This issue is covered in tutorial
http://cmusphinx.sourceforge.net/wiki/tutorialandroid
In short, you need to install Java toolkit support in your Eclipse.
Last edit: Nickolay V. Shmyrev 2014-08-15