build conncetion error

0

AwsIotMqttConnectionBuilder builder = AwsIotMqttConnectionBuilder.newMtlsBuilderFromPath(Config.certPemPath, Config.certPrivateKeyPemPath);

构建连接报错

Unable to unpack AWS CRT lib: java.io.IOException: Unable to open library in jar for AWS CRT: /linux/armv8/glibc/libaws-crt-jni.so 2023-08-23 18:57:43.278 4735-4735 System.err com.redin.deviceserver W java.io.IOException: Unable to open library in jar for AWS CRT: /linux/armv8/glibc/libaws-crt-jni.so 2023-08-23 18:57:43.282 4735-4735 System.err com.redin.deviceserver W at software.amazon.awssdk.crt.CRT.extractAndLoadLibrary(CRT.java:306) 2023-08-23 18:57:43.284 4735-4735 System.err com.redin.deviceserver W at software.amazon.awssdk.crt.CRT.loadLibraryFromJar(CRT.java:358) 2023-08-23 18:57:43.287 4735-4735 System.err com.redin.deviceserver W at software.amazon.awssdk.crt.CRT.<clinit>(CRT.java:41) 2023-08-23 18:57:43.290 4735-4735 System.err com.redin.deviceserver W at software.amazon.awssdk.crt.CrtResource.<clinit>(CrtResource.java:104) 2023-08-23 18:57:43.293 4735-4735 System.err com.redin.deviceserver W at software.amazon.awssdk.iot.AwsIotMqttConnectionBuilder.newMtlsBuilderFromPath(AwsIotMqttConnectionBuilder.java:105) 2023-08-23 18:57:43.296 4735-4735 System.err com.redin.deviceserver W at com.redin.deviceserver.services.ShadowService.onCreate(ShadowService.java:57) 2023-08-23 18:57:43.299 4735-4735 System.err com.redin.deviceserver W at android.app.ActivityThread.handleCreateService(ActivityThread.java:4555) 2023-08-23 18:57:43.301 4735-4735 System.err com.redin.deviceserver W at android.app.ActivityThread.access$1700(ActivityThread.java:257) 2023-08-23 18:57:43.304 4735-4735 System.err com.redin.deviceserver W at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2111) 2023-08-23 18:57:43.306 4735-4735 System.err com.redin.deviceserver W at android.os.Handler.dispatchMessage(Handler.java:106) 2023-08-23 18:57:43.309 4735-4735 System.err com.redin.deviceserver W at android.os.Looper.loopOnce(Looper.java:201) 2023-08-23 18:57:43.311 4735-4735 System.err com.redin.deviceserver W at android.os.Looper.loop(Looper.java:288) 2023-08-23 18:57:43.314 4735-4735 System.err com.redin.deviceserver W at android.app.ActivityThread.main(ActivityThread.java:7911) 2023-08-23 18:57:43.316 4735-4735 System.err com.redin.deviceserver W at java.lang.reflect.Method.invoke(Native Method) 2023-08-23 18:57:43.318 4735-4735 System.err com.redin.deviceserver W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 2023-08-23 18:57:43.321 4735-4735 System.err com.redin.deviceserver W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1009)

  • Hi. Can you please amend your question, or add a comment, saying what version of the SDK you're using, whether you built it yourself, and what OS?

feiying
질문됨 7달 전48회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인