Ticket #1803 (closed task: fixed)

Opened 3 years ago

Last modified 22 months ago

Add support for Android 64 bit compilation

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.4
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by nanang) (diff)

Starting from Android NDK 10 (released July 2014), it added 3 new ABIs, all 64-bit: arm64-v8a, x86_64, mips64.

Currently the default target for android build is for armeabi, for other targets few changes need to be done:

  1. The names of the end folders are the same as the ABI of the library, please check here for more info.
    e.g: for arm64-v8a, use libs/arm64-v8a
    
  2. For ndk-build, it is necessary to define APP_ABI in the Application.mk.
    e.g: APP_ABI := arm64-v8a
    

This ticket will check to make sure that PJSIP compiles fine for those new archs.

Change History

comment:1 Changed 3 years ago by ming

In 4960:

Re #1803: (Add support for Android 64 bit compilation)

comment:2 Changed 2 years ago by riza

In 5056:

Re #1803: Add Application.mk which is necessary for ndk-build to define APP_ABI (needed for targets other than armeabi).

comment:3 Changed 2 years ago by riza

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

comment:4 Changed 2 years ago by riza

  • Description modified (diff)

comment:5 Changed 22 months ago by nanang

  • Description modified (diff)
Note: See TracTickets for help on using tickets.