D
D
Dimchik2022-03-17 07:44:57
Qt
Dimchik, 2022-03-17 07:44:57

Error - building/deploying project Android, can you help me solve it?

I did not change the sources, I just launched the project from the templates. The emulator is available, and on the real device the same error. Here is the compiler output: Error while building/deploying project Android (kit: Android Qt 5.15.1 Clang Multi-Abi)
When executing step " Deploy to Android device ". Abi I set up, x86_64 for the emulator, and armeabi-v7a when I compile on a real device. And I configured Sdk using Android Studio.
And here is the error - :-1: error: Project ERROR: Cannot run target compiler 'R:\Program\Android Sdk\Sdk\ndk\21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++'. Output:
===================
===================
Maybe you forgot to setup the environment?

I will be very grateful for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jacob E, 2022-03-17
@Zifix

Did you set up the environment according to the guide? For mobile phones, it is better to take the latest version, that is, 6.2.
https://doc.qt.io/qt-6/android-getting-started.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question