Forums - Error Loading DSP .so lib in android .apk's

1 post / 0 new
Error Loading DSP .so lib in android .apk's
wangdongustc
Join Date: 3 Nov 17
Posts: 1
Posted: Mon, 2017-11-13 00:18

Hi,

For the calculator example, we used aarch64 to compile calculator_test.c and calculator_stub.c together to generate libcalculator.so.

Terminal programs like the calculator can run with the libcalculator.so being used. However, when we used it in an arm64 apk via another .so library, (e.g. libTest.so) we got the following error and the program failed:

        vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:691:Error 45: fopen failed for oemconfig.so. (No such file or directory)
        vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1074: Error 4b: adsp current process handle failed. domain 0
 
We also tested the the native library (libTest.so) in terminal programs we built, the program can run correctly. 
 
So we were wondering how can we use a DSP library in a apk application? Thanks!
 
The platform we used is the Qualcomm 835 Dev Kit from Intrinsycs, and the Android version is 7.0.
 
Thanks!
 
Darren Wang
 
 
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.