Integrating MuPDF as a library project (Android)

后端 未结 2 755
野性不改
野性不改 2021-01-18 03:49

So I have built this project based on a pdf reader(MuPDF). I used ndk-build for that. The name of this project is ChoosePDFActivity. I know that it has been correctly built

2条回答
  •  灰色年华
    2021-01-18 04:30

    You just have to create a dummy dynamic library that simply links against your static library like this:

    https://stackoverflow.com/a/2957386/892714

    The ndk build system (unfortunately) will not create a static library without it being used by a dynamic library. Then you simply grab your static library from obj/local/armeabi-v7a.

提交回复
热议问题