Hi, I need help someone, please.
I installed Hexagon SDK 1.1.0 and test run calculator example.
I have two logcat log, which one is not in local run(NDK), and result was success.
Another one is local run(using aDSP), and result was failed.(on Galaxy S4, SHV-E330S)
Exactly, I don't know where is the path for libcalculator_skel.so.
04-08 09:35:45.122: E/adsprpc(1301): vendor/qcom/proprietary/adsprpc/src/listener_android.c:107:listener using ion heap: -1
04-08 09:35:45.122: E/adsprpc(1301): vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:33:apps_std fopen failed: ./libcalculator_skel.so No such file or directory
04-08 09:35:45.132: E/adsprpc(1301): vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:216::error: -5: 0 == (nErr = dlerr)
04-08 09:35:45.132: E/adsprpc(1301): vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:219:adsp dlopen error: calculator Shared object "libcalculator_skel.so" not found
I don't know what is problem. Someone help me....
To below, I attached log
04-08 09:35:15.032: W/ApplicationPackageManager(32507): getCSCPackageItemText()
04-08 09:35:15.042: I/System.out(32507): Environment variables for this process - start
04-08 09:35:15.052: I/System.out(32507): ANDROID_SOCKET_zygote=9
04-08 09:35:15.052: I/System.out(32507): EMULATED_STORAGE_SOURCE=/mnt/shell/emulated
04-08 09:35:15.052: I/System.out(32507): SECONDARY_STORAGE=/storage/extSdCard
04-08 09:35:15.052: I/System.out(32507): ANDROID_STORAGE=/storage
04-08 09:35:15.052: I/System.out(32507): ANDROID_BOOTLOGO=1
04-08 09:35:15.052: I/System.out(32507): EXTERNAL_STORAGE=/storage/emulated/legacy
04-08 09:35:15.052: I/System.out(32507): ANDROID_ASSETS=/system/app
04-08 09:35:15.052: I/System.out(32507): ASEC_MOUNTPOINT=/mnt/asec
04-08 09:35:15.052: I/System.out(32507): PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
04-08 09:35:15.052: I/System.out(32507): LOOP_MOUNTPOINT=/mnt/obb
04-08 09:35:15.052: I/System.out(32507): BOOTCLASSPATH=/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar:/system/framework/scrollpause.jar:/system/framework/stayrotation.jar:/system/framework/smartfaceservice.jar:/system/framework/secocsp.jar:/system/framework/commonimsinterface.jar:/system/framework/WfdCommon.jar:/system/framework/org.codeaurora.Performance.jar
04-08 09:35:15.052: I/System.out(32507): EMULATED_STORAGE_TARGET=/storage/emulated
04-08 09:35:15.052: I/System.out(32507): ANDROID_DATA=/data
04-08 09:35:15.052: I/System.out(32507): ANDROID_PROPERTY_WORKSPACE=8,0
04-08 09:35:15.052: I/System.out(32507): ANDROID_ROOT=/system
04-08 09:35:15.052: I/System.out(32507): LD_LIBRARY_PATH=/vendor/lib:/system/lib
04-08 09:35:15.052: I/System.out(32507): VIBE_PIPE_PATH=/dev/pipes
04-08 09:35:15.052: I/System.out(32507): Environment variables for this process - end
04-08 09:35:15.052: D/dalvikvm(32507): Trying to load lib /data/app-lib/com.qualcomm.example.calculator-3/libcalculator_stub.so 0x429869f8
04-08 09:35:15.052: D/dalvikvm(32507): Added shared lib /data/app-lib/com.qualcomm.example.calculator-3/libcalculator_stub.so 0x429869f8
04-08 09:35:15.052: D/dalvikvm(32507): No JNI_OnLoad found in /data/app-lib/com.qualcomm.example.calculator-3/libcalculator_stub.so 0x429869f8, skipping init
04-08 09:35:15.052: I/System.out(32507): Calculator_sum = 500500 - end
04-08 09:35:15.142: I/Adreno-EGL(32507): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
04-08 09:35:15.142: I/Adreno-EGL(32507): OpenGL ES Shader Compiler Version: E031.24.00.07
04-08 09:35:15.142: I/Adreno-EGL(32507): Build Date: 01/22/14 Wed
04-08 09:35:15.142: I/Adreno-EGL(32507): Local Branch: base_au149_adreno_au169_patches
04-08 09:35:15.142: I/Adreno-EGL(32507): Remote Branch:
04-08 09:35:15.142: I/Adreno-EGL(32507): Local Patches:
04-08 09:35:15.142: I/Adreno-EGL(32507): Reconstruct Branch:
04-08 09:35:15.172: D/OpenGLRenderer(32507): Enabling debug mode 0
==========================================================================================================
04-08 09:35:45.102: W/ApplicationPackageManager(1301): getCSCPackageItemText()
04-08 09:35:45.112: I/System.out(1301): Environment variables for this process - start
04-08 09:35:45.112: I/System.out(1301): ANDROID_SOCKET_zygote=9
04-08 09:35:45.112: I/System.out(1301): EMULATED_STORAGE_SOURCE=/mnt/shell/emulated
04-08 09:35:45.112: I/System.out(1301): SECONDARY_STORAGE=/storage/extSdCard
04-08 09:35:45.112: I/System.out(1301): ANDROID_STORAGE=/storage
04-08 09:35:45.112: I/System.out(1301): ANDROID_BOOTLOGO=1
04-08 09:35:45.112: I/System.out(1301): EXTERNAL_STORAGE=/storage/emulated/legacy
04-08 09:35:45.112: I/System.out(1301): ANDROID_ASSETS=/system/app
04-08 09:35:45.112: I/System.out(1301): ASEC_MOUNTPOINT=/mnt/asec
04-08 09:35:45.112: I/System.out(1301): PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
04-08 09:35:45.112: I/System.out(1301): LOOP_MOUNTPOINT=/mnt/obb
04-08 09:35:45.112: I/System.out(1301): BOOTCLASSPATH=/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar:/system/framework/scrollpause.jar:/system/framework/stayrotation.jar:/system/framework/smartfaceservice.jar:/system/framework/secocsp.jar:/system/framework/commonimsinterface.jar:/system/framework/WfdCommon.jar:/system/framework/org.codeaurora.Performance.jar
04-08 09:35:45.112: I/System.out(1301): EMULATED_STORAGE_TARGET=/storage/emulated
04-08 09:35:45.112: I/System.out(1301): ANDROID_DATA=/data
04-08 09:35:45.112: I/System.out(1301): ANDROID_PROPERTY_WORKSPACE=8,0
04-08 09:35:45.112: I/System.out(1301): ANDROID_ROOT=/system
04-08 09:35:45.112: I/System.out(1301): LD_LIBRARY_PATH=/vendor/lib:/system/lib
04-08 09:35:45.112: I/System.out(1301): VIBE_PIPE_PATH=/dev/pipes
04-08 09:35:45.112: I/System.out(1301): Environment variables for this process - end
04-08 09:35:45.112: D/dalvikvm(1301): Trying to load lib /data/app-lib/com.qualcomm.example.calculator-4/libcalculator_stub.so 0x42983868
04-08 09:35:45.112: D/dalvikvm(1301): Added shared lib /data/app-lib/com.qualcomm.example.calculator-4/libcalculator_stub.so 0x42983868
04-08 09:35:45.112: D/dalvikvm(1301): No JNI_OnLoad found in /data/app-lib/com.qualcomm.example.calculator-4/libcalculator_stub.so 0x42983868, skipping init
04-08 09:35:45.122: E/adsprpc(1301): vendor/qcom/proprietary/adsprpc/src/listener_android.c:107:listener using ion heap: -1
04-08 09:35:45.122: E/adsprpc(1301): vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:33:apps_std fopen failed: ./libcalculator_skel.so No such file or directory
04-08 09:35:45.132: E/adsprpc(1301): vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:216::error: -5: 0 == (nErr = dlerr)
04-08 09:35:45.132: E/adsprpc(1301): vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:219:adsp dlopen error: calculator Shared object "libcalculator_skel.so" not found
04-08 09:35:45.132: I/System.out(1301): Calculator_sum = 1 - end
04-08 09:35:45.222: I/Adreno-EGL(1301): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
04-08 09:35:45.222: I/Adreno-EGL(1301): OpenGL ES Shader Compiler Version: E031.24.00.07
04-08 09:35:45.222: I/Adreno-EGL(1301): Build Date: 01/22/14 Wed
04-08 09:35:45.222: I/Adreno-EGL(1301): Local Branch: base_au149_adreno_au169_patches
04-08 09:35:45.222: I/Adreno-EGL(1301): Remote Branch:
04-08 09:35:45.222: I/Adreno-EGL(1301): Local Patches:
04-08 09:35:45.222: I/Adreno-EGL(1301): Reconstruct Branch:
04-08 09:35:45.252: D/OpenGLRenderer(1301): Enabling debug mode 0
Hi,
Hope you are following the instructions mentioned in below file in your sdk directory to execute the calculator application,
<Hexagon_SDK Root Directory>/3.4.2/docs/calculator_android.html
Kindly follow the steps mentioned in On-target testing section from the same page to copy respective .so files required for the application.