summaryrefslogtreecommitdiff
path: root/platform/android/example/Readme.txt
blob: e87baf8a0e0dcc09bf69c0e2c1bda43a8e2f0aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
mupdf/platform/android/example - build instructions

1.  get the code and submodules

2.  make generate

3.  cd mupdf/platform/android/viewer

3.  build:   ndk-build

4.  copy the resulting .so file:

	mkdir -p ../example/mupdf/libs/armeabi-v7a
	rm -f ../example/mupdf/libs/armeabi-v7a/libmupdf_java.so
	cp ./libs/armeabi-v7a/libmupdf_java.so ../example/mupdf/libs/armeabi-v7a/

5.  Open the example in Android Studio

6.  build and run

If you modify C code, do steps 3, 4 and 6 as needed