I used the line: Hunspell hsp=new Hunspell(); And the app crashed throwing ExceptionInInitiaizeError.