Search code examples
androidandroid-ndkplivo

Can't load native library on emulator


I have run plivo android sample project here (https://github.com/plivo/plivo-android-examples) in my real android device and worked without any errors. But when I tried to run in emulator that using x86 architecture, I got this error.

No implementation found for void com.plivo.endpoint.backend.plivoJNI.swig_module_init() 
(tried    Java_com_plivo_endpoint_backend_plivoJNI_swig_1module_1init and 
Java_com_plivo_endpoint_backend_plivoJNI_swig_1module_1init__)

I think this issue related to .so library that need to be provided in x86 version of architecture too. Any solution?


Solution

  • Plivo Sales Engineer here.

    The library file for x86 architecture is part of the downloadable SDK here. If you're still facing issues, please write to [email protected] and we can help you resolve this.