Buck - java.lang.UnsatisfiedLinkError: couldn't find “libjni.so”. How to solve it?

ⅰ亾dé卋堺 提交于 2019-12-05 16:01:30

Repeating the answer from github:

You need to install Android NDK from here (version 10e) and set ANDROID_NDK_REPOSITORY to the location of the unpacked NDK (see buckconfig section for more info).

For example, if you unpack NDK to ~/tmp/ndk (so that there is a directory ~/tmp/ndk/android-ndk-r10e), you need to set ANDROID_NDK_REPOSITORY to ~/tmp/ndk.

After that delete old cache and rebuild the app:

$ buck kill && rm -rf buck-out
$ buck build demo_app_android
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!