Forums - Can't run calculator example

1 post / 0 new
Can't run calculator example
sunho.moon
Join Date: 21 Sep 16
Posts: 1
Posted: Wed, 2018-08-08 01:28

* Development Environment

- SDK version : 3.3

- Platform : SDM845

- OS : Android 8.0.0

- Application : Calculator example

 

When I use the signed so files by using elfsigner.py, I can't run calculator and there is below error log.

/vendor/bin # ./calculator 1 1000
CANNOT LINK EXECUTABLE "./calculator": "/vendor/lib/libcalculator.so" has invalid e_shstrndx

 

Aborted (core dumped)

 

I didn't use the signing method with testsig.so but use the method  with elfsigner.py as below

 

>elfsigner.py -i libcalculator.so

   -> I used the so files newly created in the output directory.

>elfsigner.py -i libcalculator_skel.so

   -> I used the so files newly created in the output directory

Is there anythinng I have to do for solving this issue?

 

Best regards,

Sunho

 

  • 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.