mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.33k stars 3.64k forks source link

How to fix the error when using Qt 5.15 with JDK 11.0.25? #12088

Open aibietdau opened 1 week ago

aibietdau commented 1 week ago

I am using Qt version 5.15, and when installing devices for Android, I encounter an error and cannot install it. I am using JDK version 11.0.25. I have tried to find a solution but have not been able to. Please help me. Screenshot 2024-11-12 112608

HTRamsey commented 1 week ago

You have to use the current beta2 for QtCreator 15.0.0. 14.0.2 has some issues

aibietdau commented 1 week ago

You have to use the current beta2 for QtCreator 15.0.0. 14.0.2 has some issues

Thanks for your support, but I tried installing version 15.0.0 beta2 but still can't fix this error, do you have any other solutions?

HTRamsey commented 1 week ago

So you are unable to install like Platform SDK 34 or something?

aibietdau commented 1 week ago

Vậy là bạn không thể cài đặt Platform SDK 34 hay gì đó phải không? yes with jdk 11 i cant install any sdk when i click on set up sdk image

HTRamsey commented 1 week ago

https://github.com/mavlink/qgroundcontrol/issues/11907

aibietdau commented 1 week ago

11907

i tried but the result is not as i expected, if i use another jdk for stable_v4.4 is it ok, for example jdk17 version

HTRamsey commented 1 week ago

Sure, whatever ends up working. But you may want to change your NDK version as you should be using NDK 25

aibietdau commented 1 week ago

Sure, whatever ends up working. But you may want to change your NDK version as you should be using NDK 25 i thank you for the suggestion to solve the problem before, but after fixing the above error, there is a problem, that is i want to build for 32 bit version but i can't find armeabi_v7a, arm64_v8, please give me a suggestion Screenshot 2024-11-14 113103 Screenshot 2024-11-14 113143