PaddlePaddle / FastDeploy

⚡️An Easy-to-use and Fast Deep Learning Model Deployment Toolkit for ☁️Cloud 📱Mobile and 📹Edge. Including Image, Video, Text and Audio 20+ main stream scenarios and 150+ SOTA models with end-to-end optimization, multi-platform and multi-framework support.
https://www.paddlepaddle.org.cn/fastdeploy
Apache License 2.0
2.99k stars 465 forks source link

windows10上开发,采用genymotion模拟器,用的easyedge arm sdk,调用sdk报错。 #407

Closed vsharer closed 2 years ago

vsharer commented 2 years ago

错误信息: ],nativeLibraryDirectories=[/data/app/xxx.xxx-xxxx-Zr9QUg==/lib/x86, /system/lib, /system/vendor/lib]]] couldn't find "libedge-infer.so" .安装了Genymotion-ARM-Translation_for_9.0也不行

vsharer commented 2 years ago

完整的错误信息: Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/xxxxxxxxx==/base.apk"],nativeLibraryDirectories=[/data/app/xxxxx==/lib/x86, /system/lib, /system/vendor/lib]]] couldn't find "libedge-infer.so" at java.lang.Runtime.loadLibrary0(Runtime.java:1011) at java.lang.System.loadLibrary(System.java:1657) at com.baidu.ai.edge.core.infer.InferLiteJni.a(Unknown Source:21) at com.baidu.ai.edge.core.infer.InferManager.e(Unknown Source:13)? at com.baidu.ai.edge.core.base.BaseManager.(Unknown Source:86)? at com.baidu.ai.edge.core.infer.InferManager.(Unknown Source:5)?

jiangjiajun commented 2 years ago

Hi,你部署的是什么模型

vsharer commented 2 years ago

ocr模型,就是这个sdk:EasyEdge-Android-paddle-ocr-arm-SDK

DefTruth commented 2 years ago

目前还不支持x86架构,您可以先尝试下真机调试,现在支持arm64-v8a和armeabi-v7a这两种常见的架构

vsharer commented 2 years ago

谢谢