Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError in Android14 using version 5.11.0-a1 #428

Closed
punto338 opened this issue Sep 27, 2024 · 4 comments
Closed

Comments

@punto338
Copy link

punto338 commented Sep 27, 2024

Hello, I have my app with succesful initialization and registration. In my activity I have this Java code:

image

and I get this error:

MRTCController E Couldn't load libJNI_ERR returned from JNI_OnLoad in "/data/app/~~gHq_QrxcDaKlbGt5JuYvwA==/com.myapp.app-41P7upOnZbnEjCM4y9K7Qg==/lib/arm64/libmrtc_core_jni.so"

Sin nombre

I am using these dependencies and testing in Android 14

withDJIImplementation "com.dji:dji-sdk-v5-aircraft-alpha:5.11.0-a1" withDJICompileOnly "com.dji:dji-sdk-v5-aircraft-provided-alpha:5.11.0-a1"

id 'com.android.application' version '8.5.2' apply false
id 'com.android.library' version '8.5.2' apply false

AGP Version: distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
I also tried with these configurations, but problem is the same:

  id 'com.android.application' version '7.4.2' apply false
    id 'com.android.library' version '7.4.2' apply false

distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip

how can this error be solved?

@dji-dev
Copy link
Contributor

dji-dev commented Sep 29, 2024

Agent comment from SHENRONG.LE in Zendesk ticket #118387:

Dear developers,

Hello, thank you for contacting DJI Innovation.

Will there be an error when running the official sample? Looks like it's not in the official library

I hope our solution can help you, thank you for your email, wish you a happy life!

Best Regards,
Dji innovation SDK technical support
image.png

°°°

@punto338
Copy link
Author

punto338 commented Oct 2, 2024

It happens also in the sample, but the sample can livestream without issues. So may I have to initialize anything else than

com.cySdkyc.clx.Helper.install(this);

and

image

@dji-dev
Copy link
Contributor

dji-dev commented Oct 3, 2024

Agent comment from SHENRONG.LE in Zendesk ticket #118387:

Dear developers,
Hello, thank you for contacting DJI Innovation.

May I ask what is the latest error reported at present? Can you provide the error information?

I hope our solution can help you, thank you for your email, wish you a happy life!
Best Regards,
Dji innovation SDK technical support

°°°

@dji-dev
Copy link
Contributor

dji-dev commented Oct 15, 2024

Agent comment from SHENRONG.LE in Zendesk ticket #118387:

Dear developers,
Hello, thank you for contacting DJI Innovation.

You can check out this document:
https://sdk-forum.dji.net/hc/zh-cn/articles/13201276673689-%E5%BC%80%E5%90%AF%E7%9B%B4%E6%92%AD%E6%8A%A5%E9%94%99Unknown%E6%80%8E%E4%B9%88%E5%8A%9E?auth_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjo5Nzg4MTcsInVzZXJfaWQiOjEzMDAxMDc0NzA3MDk3LCJ0aWNrZXRfaWQiOjc0MzQzLCJjaGFubmVsX2lkIjo2MywidHlwZSI6IlNFQVJDSCIsImV4cCI6MTY3Mjk3NTQwNH0._aiRmu2ghuG3g6IgXcltUKVq_lGLV3Uu_xP0Lo7_Gm0&source=search

Thank you for your understanding and support, I wish you a happy life!
Best Regards,
Dji innovation SDK technical support

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants