기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Vivox Core SDK

Vivox Core SDK

이 페이지는 선택한 언어로 제공되지 않습니다.
Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
    • Client SDK basics
    • Channels
    • Presence management
    • Messaging
    • Manage audio
    • Couch co-op
    • Android app development
      • Bluetooth profile management
      • Android SDK permission requirements
      • Android library requirements
      • Initialize Vivox Android services
      • Android speakerphone audio: Mono or stereo
      • Update the ProGuard rule file
      • Smart Platform Audio Management
      • Acoustic echo cancellation
      • Disable the Vivox SDK internal AEC
      • Hardware echo cancellation
      • Absolute paths for native libraries
      • Reduce Opus CPU load on low-powered Android devices
    • iOS app development
    • macOS app development
    • Windows app development
    • Real-time recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Troubleshooting
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation
  2. Android app development

Absolute paths for native libraries

Information on how to store native libraries out of the APK.
읽는 시간 1분
최근 업데이트: 8달 전

If you plan to split up your Android application to reduce the initial download size, then you are probably looking to use Android App Bundles with Play Feature Delivery or APK Expansion Files (OBB). For more information, see the Android developer documentation on Play Feature Delivery and APK Expansion Files.
When using Play Feature Delivery or APK Expansion Files, you can choose to store some native libraries outside of the APK. To do this, you need to provide absolute paths to those native libraries.
For example, if
libvivox-sdk.so
is stored outside of the APK, specify this by calling a
JNIHelpers.init(...)
function that accepts the
vivoxLibraryPath
parameter:
JNIHelpers.init("/the/absolute/path/to/libvivox-sdk.so", context)
After
vivox-sdk
is loaded, any additional libraries that you specify to load through
JNIHelpers.init(..., String[] libs)
work based on whether they are an absolute path:
  • If the library string is an absolute path (which typically means that the path starts with / on Android), then
    System.load(...)
    is used to load the library from that absolute path.
  • If the library string is not an absolute path (the path does not start with / on Android), then it is assumed to be a library name without the
    lib
    prefix or the
    .so
    ending, and is used with
    System.loadLibrary(...)
    to load the library.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.


    이 페이지의 문제 보고