在Android中使用NaoQi 2.5 Java SDK(UnsatisfiedLinkError)

时间:2019-05-06 20:27:36

标签: java android nao-robot pepper

我正在尝试使用Java SDK for android。我已将sdk放入app / libs文件夹中,并将其作为lib导入。我正在尝试做:

new Application(null, "tcp://nao.local:9559");

但是我得到了错误:

    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/base.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_dependencies_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_resources_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_0_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_1_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_2_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_3_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_4_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_5_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_6_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_7_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_8_apk.apk", zip file "/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.digitaledge.pepperaudio-SXbVNlEyK9xJTVAFhULYpw==/lib/arm64, /system/lib64]]] couldn't find "libgnustl_shared.so"

我认为创建应用程序时会出现问题,我为args传递了null。这是因为这些args应该是经典java main函数中的args参数。由于这是android,所以不存在。

应该注意,我正在使用Naoqi 2.5。但我觉得这无关紧要。

0 个答案:

没有答案