Skip to content

Files

Latest commit

Oct 2, 2021
45745a3 · Oct 2, 2021

History

History
This branch is 2040 commits behind jsoftware/jsource:master.

android

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 2, 2021
May 2, 2020
Sep 24, 2016
1. make a symlink in jni folder

$ cd jni
$ ln -sf ../../jsrc .
$ ln -sf ../../hostdefs .
$ ln -sf ../../netdefs .
$ ln -sf ../../../../src/pcre .
$ ln -sf ../../../../src/pcre2 .
$ cd ..

2. build using ndk in the current folder

$ ndk-build

for armeabi target, use gcc and older version of ndk
$ NDK_TOOLCHAIN_VERSION=4.9 ~/android/android-ndk-r16b/ndk-build

debug built
in Application.mk change to APP_OPTIM=debug
NO need to change anything in Android.mk
 
$ NDK_TOOLCHAIN_VERSION=4.9 ~/android/android-ndk-r16b/ndk-build NDK_DEBUG=1

binaries in libs folder

3. jconsole readline implemented with linenoise
   * https://github.com/antirez/linenoise