Problems trying to build PocketSphinx for Android using NDK

前端 未结 2 1202
一向
一向 2020-12-31 21:33

I\'m trying to build PocketSphinx for Android using the PocketSphinxAndroidDemo project. I\'ve given up om my quest to build it using Cygwin and Windows and installed an Ubu

相关标签:
2条回答
  • 2020-12-31 21:46

    Modify jni/Android.mk file

    Change Line 162 :

    LOCAL_STATIC_LIBRARIES := sphinxutil sphinxfe sphinxfeat sphinxlm pocketsphinx
    

    to :

    LOCAL_STATIC_LIBRARIES := pocketsphinx sphinxlm sphinxfeat sphinxfe sphinxutil
    

    That will resolve your issue.

    0 讨论(0)
  • 2020-12-31 22:03

    Solved my problem. Maybe someone will find this information useful :)

    What I did was a complete rebuild of all the static library projects, and then my app, using "ndk-build -B"

    0 讨论(0)
提交回复
热议问题