我按照说明在 Hexagon DSP 上使用 Tensorflow 引擎构建 Android 应用程序。
我的设备是 Pixel 1。
libhexagon_controller.so - android_Release模式没有编译问题,但是当我尝试构建android_Release_aarch6时出现链接问题:
警告:libadsprpc.so,/Tensorflow_Hexagon/tensorflow-master/tensorflow/contrib/makefile/downloads/hexagon/libs/libhexagon_controller.so 需要,未找到(尝试使用 -rpath 或 -rpath-link)
我通过将 -ladsprpc 添加到 tensorflow/contrib/makefile 中的 Makefile 来解决它。如果 ladsprpc 需要 android_Release_aarch64 为什么在 android_Release 中没问题?
2.我按照步骤生成签名测试共享库-${QUALCOMM_SDK}/docs/Tools_Signing.html
我的问题是adb push output/testsig-0x<serial number> /system/lib/rfsa/adsp/
我正进入(状态adb: error: failed to copy 'testsig-xxxx.so' to '/system/lib/rfsa/adsp/': remote couldn't create file: Is a directory
该怎么办?
谢谢。