Instal·lació de les eines mínimes (SDK, NDK i eines de terminal) per a fer aplicacions en Qt per a Android

De binefa.com
La revisió el 16:43, 30 nov 2023 per Jordi Binefa (discussió | contribucions) (Es crea la pàgina amb «[https://forum.qt.io/user/cristian-adam Cristian Adam] comenta al [https://forum.qt.io/topic/137678/tls-initialization-failed-downloading-android-sdk-tools/7 fòrum "T...».)
(dif) ← Versió més antiga | Versió actual (dif) | Versió més nova → (dif)
Salta a la navegació Salta a la cerca

Cristian Adam comenta al fòrum "TLS initialization failed: Downloading Android SDK Tools" de Qt:

L'error TLS ve del fet que les Qt fan servir Open SSL 1.1 i Ubuntu ve amb Open SSL 3 i són incompatibles. Veieu QTCREATORBUG-28397 Not able to setup Android SDK on Ubuntu 22.04.1

The TLS error comes from the fact that Qt is being built against Open SSL 1.1 and Ubuntu comes with Open SSL 3 and they are incompatible. See QTCREATORBUG-28397 Not able to setup Android SDK on Ubuntu 22.04.1

You can get the setup_android.cmake script and run it via cmake -P setup_android.cmake.

The script might be a bit outdated, have a look at the android/sdk_definitions.json and adjust the values.

Then point Qt Creator to the new directories.