pjsip for android

JL
JYUN-FONG LIN
Wed, Jun 5, 2019 1:39 AM

I used pjsip 2.2.1 version. I want make pjsip for Android. Android NDK use
R18b. can it use r18b compiler ?

I used pjsip 2.2.1 version. I want make pjsip for Android. Android NDK use R18b. can it use r18b compiler ?
Лухнов Андрей Олегович
Wed, Jun 5, 2019 8:58 AM

Jyun-Fong Lin,

please look at CSipSimple [1] - an open source PJSIP-based android phone application.

Unfortunately, it seems abandoned, but you'll get the general idea from it.

[1]: [ https://github.com/r3gis3r/CSipSimple | https://github.com/r3gis3r/CSipSimple ]

From: "JYUN-FONG LIN" coolhappy220@gmail.com
To: "pjsip" pjsip@lists.pjsip.org
Sent: Среда, 5 Июнь 2019 г 4:39:35
Subject: [pjsip] pjsip for android

I used pjsip 2.2.1 version. I want make pjsip for Android. Android NDK use R18b. can it use r18b compiler ?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Jyun-Fong Lin, please look at CSipSimple [1] - an open source PJSIP-based android phone application. Unfortunately, it seems abandoned, but you'll get the general idea from it. [1]: [ https://github.com/r3gis3r/CSipSimple | https://github.com/r3gis3r/CSipSimple ] From: "JYUN-FONG LIN" <coolhappy220@gmail.com> To: "pjsip" <pjsip@lists.pjsip.org> Sent: Среда, 5 Июнь 2019 г 4:39:35 Subject: [pjsip] pjsip for android I used pjsip 2.2.1 version. I want make pjsip for Android. Android NDK use R18b. can it use r18b compiler ? _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
JL
JYUN-FONG LIN
Thu, Jun 6, 2019 1:56 AM

the pjsip is only for the iPhone.

You said it can't be used for Android?

  1. Android does not support pjsip.
  2. pjsip does not support Android.

or need pay?

thanks.

the pjsip is only for the iPhone. You said it can't be used for Android? 1. Android does not support pjsip. 2. pjsip does not support Android. or need pay? thanks.
JT
James T. Kirk
Thu, Jun 6, 2019 3:49 AM

No, you don't have to pay. It works on android devices.

https://trac.pjsip.org/repos/wiki/Getting-Started/Android

I hit many, many roadblocks (various issues related to a need for
deprecated command line build tools, specific ndk versions, compiler
strangeness building the H.264 library, etc...), but was eventually able
to build a functional pjsua2 library for Android (I was able to build
native versions of the library for both x86 and arm64). My app reliably
makes video calls now.

You might want to refrain from making authoritative statements ('the
pjsip is only for the iPhone') when they're entirely untrue.

-Caleb

On 6/5/19 9:56 PM, JYUN-FONG LIN wrote:

the pjsip is only for the iPhone.

You said it can't be used for Android?

  1. Android does not support pjsip.
  2. pjsip does not support Android.

or need pay?

thanks.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

No, you don't have to pay. It works on android devices. https://trac.pjsip.org/repos/wiki/Getting-Started/Android I hit many, many roadblocks (various issues related to a need for deprecated command line build tools, specific ndk versions, compiler strangeness building the H.264 library, etc...), but was eventually able to build a functional pjsua2 library for Android (I was able to build native versions of the library for both x86 and arm64). My app reliably makes video calls now. You might want to refrain from making authoritative statements ('the pjsip is only for the iPhone') when they're entirely untrue. -Caleb On 6/5/19 9:56 PM, JYUN-FONG LIN wrote: > the pjsip is only for the iPhone. > > You said it can't be used for Android? > > 1. Android does not support pjsip. > 2. pjsip does not support Android. > > or need pay? > > thanks. > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
JL
JYUN-FONG LIN
Thu, Jun 6, 2019 4:07 AM

thanks. I am studying it.

The following are the current settings and environment.

I use ubuntu (16.04 version)
I use pjsip(2.2.1 version) for Android.
I use pjsip Manual compiler to lib and include to Android.
I use Android Studio Tool(3.4 version) and I use (Application.mk &
Android.mk) compiler.

compiler:
Java: Oracle java 8
NDK: android-ndk-r10e


James T. Kirk jtkirk@prowlers.com 於 2019年6月6日 週四 上午11:50寫道:

No, you don't have to pay. It works on android devices.

https://trac.pjsip.org/repos/wiki/Getting-Started/Android

I hit many, many roadblocks (various issues related to a need for
deprecated command line build tools, specific ndk versions, compiler
strangeness building the H.264 library, etc...), but was eventually able to
build a functional pjsua2 library for Android (I was able to build native
versions of the library for both x86 and arm64). My app reliably makes
video calls now.

You might want to refrain from making authoritative statements ('the pjsip
is only for the iPhone') when they're entirely untrue.

-Caleb
On 6/5/19 9:56 PM, JYUN-FONG LIN wrote:

the pjsip is only for the iPhone.

You said it can't be used for Android?

  1. Android does not support pjsip.
  2. pjsip does not support Android.

or need pay?

thanks.


Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

thanks. I am studying it. The following are the current settings and environment. -------------------------------------------------------------------------------------- I use ubuntu (16.04 version) I use pjsip(2.2.1 version) for Android. I use pjsip Manual compiler to lib and include to Android. I use Android Studio Tool(3.4 version) and I use (Application.mk & Android.mk) compiler. compiler: Java: Oracle java 8 NDK: android-ndk-r10e -------------------------------------------------------------------------------------- James T. Kirk <jtkirk@prowlers.com> 於 2019年6月6日 週四 上午11:50寫道: > No, you don't have to pay. It works on android devices. > > https://trac.pjsip.org/repos/wiki/Getting-Started/Android > > I hit many, many roadblocks (various issues related to a need for > deprecated command line build tools, specific ndk versions, compiler > strangeness building the H.264 library, etc...), but was eventually able to > build a functional pjsua2 library for Android (I was able to build native > versions of the library for both x86 and arm64). My app reliably makes > video calls now. > > You might want to refrain from making authoritative statements ('the pjsip > is only for the iPhone') when they're entirely untrue. > > -Caleb > On 6/5/19 9:56 PM, JYUN-FONG LIN wrote: > > the pjsip is only for the iPhone. > > You said it can't be used for Android? > > 1. Android does not support pjsip. > 2. pjsip does not support Android. > > or need pay? > > thanks. > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
JT
James T. Kirk
Thu, Jun 6, 2019 4:36 AM

If it helps, I documented the steps I took to build (it was a little
over a year ago, the version of pjsip I was building was 2.7.2, and I
was building on OSX, but it shouldn't be all that different on linux):

http://prowlers.com/~cdavis/PJSIP_build.rtf

It took me a lot of trial and error (I'd say I spent the better part of
4 days banging my head against various walls before I finally got all
the pieces in place), to get it all working - don't give up if
everything doesn't work right away.

-Caleb

On 6/6/19 12:07 AM, JYUN-FONG LIN wrote:

thanks. I am studying it.

The following are the current settings and environment.

I use ubuntu (16.04 version)
I use pjsip(2.2.1 version) for Android.
I use pjsip Manual compiler to lib and include to Android.
I use Android Studio Tool(3.4 version) and I use (Application.mk &
Android.mk) compiler.

compiler:
  Java: Oracle java 8
  NDK: android-ndk-r10e


James T. Kirk <jtkirk@prowlers.com mailto:jtkirk@prowlers.com> 於
2019年6月6日 週四 上午11:50寫道:

 No, you don't have to pay. It works on android devices.

 https://trac.pjsip.org/repos/wiki/Getting-Started/Android

 I hit many, many roadblocks (various issues related to a need for
 deprecated command line build tools, specific ndk versions,
 compiler strangeness building the H.264 library, etc...), but was
 eventually able to build a functional pjsua2 library for Android
 (I was able to build native versions of the library for both x86
 and arm64). My app reliably makes video calls now.

 You might want to refrain from making authoritative statements
 ('the pjsip is only for the iPhone') when they're entirely untrue.

 -Caleb

 On 6/5/19 9:56 PM, JYUN-FONG LIN wrote:
 the pjsip is only for the iPhone.

 You said it can't be used for Android?

 1. Android does not support pjsip.
 2. pjsip does not support Android.

 or need pay?

 thanks.

 _______________________________________________
 Visit our blog:http://blog.pjsip.org

 pjsip mailing list
 pjsip@lists.pjsip.org  <mailto:pjsip@lists.pjsip.org>
 http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
 _______________________________________________
 Visit our blog: http://blog.pjsip.org

 pjsip mailing list
 pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
 http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

If it helps, I documented the steps I took to build (it was a little over a year ago, the version of pjsip I was building was 2.7.2, and I was building on OSX, but it shouldn't be all that different on linux): http://prowlers.com/~cdavis/PJSIP_build.rtf It took me a lot of trial and error (I'd say I spent the better part of 4 days banging my head against various walls before I finally got all the pieces in place), to get it all working - don't give up if everything doesn't work right away. -Caleb On 6/6/19 12:07 AM, JYUN-FONG LIN wrote: > thanks. I am studying it. > > The following are the current settings and environment. > -------------------------------------------------------------------------------------- > I use ubuntu (16.04 version) > I use pjsip(2.2.1 version) for Android. > I use pjsip Manual compiler to lib and include to Android. > I use Android Studio Tool(3.4 version) and I use (Application.mk & > Android.mk) compiler. > > compiler: >   Java: Oracle java 8 >   NDK: android-ndk-r10e > > -------------------------------------------------------------------------------------- > > > > > > > James T. Kirk <jtkirk@prowlers.com <mailto:jtkirk@prowlers.com>> 於 > 2019年6月6日 週四 上午11:50寫道: > > No, you don't have to pay. It works on android devices. > > https://trac.pjsip.org/repos/wiki/Getting-Started/Android > > I hit many, many roadblocks (various issues related to a need for > deprecated command line build tools, specific ndk versions, > compiler strangeness building the H.264 library, etc...), but was > eventually able to build a functional pjsua2 library for Android > (I was able to build native versions of the library for both x86 > and arm64). My app reliably makes video calls now. > > You might want to refrain from making authoritative statements > ('the pjsip is only for the iPhone') when they're entirely untrue. > > -Caleb > > On 6/5/19 9:56 PM, JYUN-FONG LIN wrote: >> the pjsip is only for the iPhone. >> >> You said it can't be used for Android? >> >> 1. Android does not support pjsip. >> 2. pjsip does not support Android. >> >> or need pay? >> >> thanks. >> >> _______________________________________________ >> Visit our blog:http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
JL
JYUN-FONG LIN
Thu, Jun 6, 2019 5:36 AM

Thank.
I test its

James T. Kirk jtkirk@prowlers.com 於 2019年6月6日 週四 下午12:36寫道:

If it helps, I documented the steps I took to build (it was a little over
a year ago, the version of pjsip I was building was 2.7.2, and I was
building on OSX, but it shouldn't be all that different on linux):

http://prowlers.com/~cdavis/PJSIP_build.rtf

It took me a lot of trial and error (I'd say I spent the better part of 4
days banging my head against various walls before I finally got all the
pieces in place), to get it all working - don't give up if everything
doesn't work right away.

-Caleb
On 6/6/19 12:07 AM, JYUN-FONG LIN wrote:

thanks. I am studying it.

The following are the current settings and environment.


I use ubuntu (16.04 version)
I use pjsip(2.2.1 version) for Android.
I use pjsip Manual compiler to lib and include to Android.
I use Android Studio Tool(3.4 version) and I use (Application.mk &
Android.mk) compiler.

compiler:
Java: Oracle java 8
NDK: android-ndk-r10e


James T. Kirk jtkirk@prowlers.com 於 2019年6月6日 週四 上午11:50寫道:

No, you don't have to pay. It works on android devices.

https://trac.pjsip.org/repos/wiki/Getting-Started/Android

I hit many, many roadblocks (various issues related to a need for
deprecated command line build tools, specific ndk versions, compiler
strangeness building the H.264 library, etc...), but was eventually able to
build a functional pjsua2 library for Android (I was able to build native
versions of the library for both x86 and arm64). My app reliably makes
video calls now.

You might want to refrain from making authoritative statements ('the
pjsip is only for the iPhone') when they're entirely untrue.

-Caleb
On 6/5/19 9:56 PM, JYUN-FONG LIN wrote:

the pjsip is only for the iPhone.

You said it can't be used for Android?

  1. Android does not support pjsip.
  2. pjsip does not support Android.

or need pay?

thanks.


Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Thank. I test its James T. Kirk <jtkirk@prowlers.com> 於 2019年6月6日 週四 下午12:36寫道: > If it helps, I documented the steps I took to build (it was a little over > a year ago, the version of pjsip I was building was 2.7.2, and I was > building on OSX, but it shouldn't be all that different on linux): > > http://prowlers.com/~cdavis/PJSIP_build.rtf > > It took me a lot of trial and error (I'd say I spent the better part of 4 > days banging my head against various walls before I finally got all the > pieces in place), to get it all working - don't give up if everything > doesn't work right away. > > -Caleb > On 6/6/19 12:07 AM, JYUN-FONG LIN wrote: > > thanks. I am studying it. > > The following are the current settings and environment. > > -------------------------------------------------------------------------------------- > I use ubuntu (16.04 version) > I use pjsip(2.2.1 version) for Android. > I use pjsip Manual compiler to lib and include to Android. > I use Android Studio Tool(3.4 version) and I use (Application.mk & > Android.mk) compiler. > > compiler: > Java: Oracle java 8 > NDK: android-ndk-r10e > > > -------------------------------------------------------------------------------------- > > > > > > James T. Kirk <jtkirk@prowlers.com> 於 2019年6月6日 週四 上午11:50寫道: > >> No, you don't have to pay. It works on android devices. >> >> https://trac.pjsip.org/repos/wiki/Getting-Started/Android >> >> I hit many, many roadblocks (various issues related to a need for >> deprecated command line build tools, specific ndk versions, compiler >> strangeness building the H.264 library, etc...), but was eventually able to >> build a functional pjsua2 library for Android (I was able to build native >> versions of the library for both x86 and arm64). My app reliably makes >> video calls now. >> >> You might want to refrain from making authoritative statements ('the >> pjsip is only for the iPhone') when they're entirely untrue. >> >> -Caleb >> On 6/5/19 9:56 PM, JYUN-FONG LIN wrote: >> >> the pjsip is only for the iPhone. >> >> You said it can't be used for Android? >> >> 1. Android does not support pjsip. >> 2. pjsip does not support Android. >> >> or need pay? >> >> thanks. >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
JL
JYUN-FONG LIN
Thu, Jun 6, 2019 10:10 AM

##############

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"

##############################################################################

> > ############## >> # 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" >> >> >> ############################################################################## >> >>
JL
JYUN-FONG LIN
Tue, Jun 18, 2019 1:46 AM

hi

pjsip 2.2.1 can using NDK-r15c(or  higher versoin ) compiler ?

JYUN-FONG LIN coolhappy220@gmail.com 於 2019年6月6日 週四 下午6:10寫道:

##############

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"

##############################################################################

hi pjsip 2.2.1 can using NDK-r15c(or higher versoin ) compiler ? JYUN-FONG LIN <coolhappy220@gmail.com> 於 2019年6月6日 週四 下午6:10寫道: > ############## >>> # 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" >>> >>> >>> ############################################################################## >>> >>>