Installing Pocketsphinx on Android

后端 未结 5 665
时光取名叫无心
时光取名叫无心 2021-01-01 02:43

I have some questions on installing Pocketsphinx on and Android phone, and I haven\'t been able to find answers on CMUSphinx\'s support forum, IRC, existing StackOverflow po

5条回答
  •  温柔的废话
    2021-01-01 03:10

    The error you got is because WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar must be extracted and the content must be put inside lib folder of your project

    The error is because it is searching for a folder WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz inside lib. This folder is available inside the jar.

    I have also only tried like this. But the thing for me is that now the apk is itself not loading states with a Installation error: INSTALL_FAILED_DEXOPT error. In my code a launcher activity creates a button, onclick of the button instance of helloworld would be created instead of main(), as I am using a constructor.

    Previously I did like having an activity in the oncreate method, the entire data in the main() method of helloworld would be there. (Here I wasn't able to even create the ConfigurationManager instance some problem while loading the helloworld.config.xml

    Your post seems to be like you were able to create those things and all. Could you share your code? Or just the framework of where you have the .config.xml files and what changes you had done in that.

提交回复
热议问题