##############
# 2019-06-06 #
##############
(step 1) Get your system set up for building native android apps:
Web path : https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip
Download Ndk-r15c
And Set Path
I unzip r15c to '/home/paul/Android/NDK/android-ndk-r15c'
##############################################################################
set 'sudo gedit ~/.bashrc'
#Set Oracle JDK:
export JAVA_HOME=/home/paul/Android/JDK/jdk1.8.0_211
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
#Set SDK:
#Set NDK:
export NDK_HOME=/home/paul/Android/NDK/android-ndk-r15c
export PATH=${JAVA_HOME}/bin:$PATH:$NDK_HOME:$NDK_HOME/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/
##############################################################################
Q:
~/src/android-ndk-r15c/build/tools/make_standalone_toolchain.py --arch arm64 --api 23 --install-dir ~/src/android-toolchain-arm64-api23
The 'android-toolchain-arm64-api23' is empty-Folder ?
------------------------------------------------------
I am test.
Current position: "/home/paul/Android/NDK" and enter cmd
cmd: "./android-ndk-r15c/build/tools/make_standalone_toolchain.py --arch arm --api 26 --install-dir ./android-toolchain-arm64-api26/"
return: "Installation directory already exists. Use --force."
##############################################################################
(step 2) Download and build the openh264 video codec:
you use "https://github.com/cisco/openh264/archive/v1.6.0.tar.gz"
I use my pjsip(2.2.1 version).
##############################################################################
Q:
Modify 'Makefile', change the line:
PREFIX=/usr/local
to
PREFIX=android
------------------------------------------------------
I am test.
I haven't found 'PREFIX=/usr/local' or 'PREFIX=android' in PJSIP-Folder.
You are say 'Makefile path' ?
where are you say 'Makefile path'?
but I have found "aconfigure" file ,it's found "ac_default_prefix=/usr/local"
##############################################################################
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org