简体   繁体   中英

Sip Application with pjsip crashes on certain android devices

I tried testing my pjsip app with 10 devices. Out of which app crashed with certain devices. Below is the list of those android devices.

SUCCESSFULL


  1. SAMSUNG J5 (ARMV7)
  2. SM-J2 60G (ARMV7)
  3. REDMI NOTE 5 (AARMV8-A)
  4. IBRIT SPEEDX (ARMV7)
  5. REALME C2 (AARCH64)
  6. VIVO Y90 (AARCH64)

FAILED


  1. Asus Z010D (aarch 64)
  2. Gionee G7a (aarch 64)
  3. Oppo A37f (Lollipop - AArch64 - arm64-v8a instruction set)

I took pjsua build for architecture armeabi-v7a and arm64-v8a.

I came to know that these failed devices fall under AArch64 architecture. How can i take a build for AArch64? Why App crashes on these devices without showing any error logs?

After searching, I found out that the issue is with my ndk. I am using latest version of ndk which is r20. afaik, r20 does not support android versions below 7. So, I want to minimise my android NDK version to something 15 or below for my app to run on android devices below 7.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM