pdf-rendering

Compiled MuPDF library integration in android project


I have compiled mupdf library but when I integrate it in my existing android project to render the PDF it give me the following error :

java.lang.ExceptionInInitializerError

I have followed the following steps for integration :

Steps are explained here : http://pastebin.com/YzHUhzE7

When i change the package name in mupdf test project then the native code get modified and the above expiation arises . So if any one knows how to integrate MuPDF compiled in my project .


Solution

  • finally I have integrated compiled mupdf library into my project .

    Following steps I have followed : after importing library into my project run the ndk-build on the jni. It will build the library. Now the ExpetionInitializationError is solved. Now the application is running on the device.