I've been trying to get the Pocketsphinx demo for Android running on a device for a couple days now. Whenever I try to run the demo, however, I get this error in LogCat:
FATAL EXCEPTION: main
java.lang.ExceptionInInitializerError
at java.lang.Class.newInstanceImpl(Native Method)
then a bunch of more errors, but the important last one is
at edu.cmu.pocketsphinx.demo.PocketSphinxDemo.<clinit>(PocketSphinxDemo.java.18)
Line 18 in PocketSphinxDemo.java is
System.loadLibrary("pocketsphinx_jni");
When I go to the pocketsphinx_jni folder, located in /PocketSphinxAndroidDemo/obj/local/armeabi/objs-debug, it appears to be empty. I am running ubuntu, if that is at all relevant. Is there anything that should be in this folder? What is causing this error? Any sort of answer is greatly appreciated.