M
M
mgkirs2017-05-11 12:27:29
Android
mgkirs, 2017-05-11 12:27:29

Can't build Android APK, even Hello Word, how to fix?

Installed ANT, Android Studio + SDK, NDK In qt creator itself, there is no way to create a virtual device, although the platforms are installed. There are no platforms for choosing a virtual device, so I use a real one.
I don’t know if these problems are related, but in the end I can’t collect Hello Word

18:23:02: Процесс «G:\QT\Tools\mingw530_32\bin\mingw32-make.exe» завершился успешно.
18:23:02: Запускается: «G:\QT\5.9\android_armv7\bin\androiddeployqt.exe» --input C:/Users/mgkir/Documents/build-untitled-Android_armeabi_v7a_GCC_4_9_Qt_5_9_0-Release/android-libuntitled.so-deployment-settings.json --output C:/Users/mgkir/Documents/build-untitled-Android_armeabi_v7a_GCC_4_9_Qt_5_9_0-Release/android-build --deployment bundled --android-platform android-25 --jdk "C:/Program Files/Java/jdk1.8.0_131" --ant G:/SDK/apache-ant-1.10.1/bin/ant.bat
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Џ®ЇлвЄ  § ЇЁбЁ ў ­ҐбгйҐбвўгойЁ© Є ­ «.
Generating Android Package
  Input file: C:/Users/mgkir/Documents/build-untitled-Android_armeabi_v7a_GCC_4_9_Qt_5_9_0-Release/android-libuntitled.so-deployment-settings.json
  Output directory: C:/Users/mgkir/Documents/build-untitled-Android_armeabi_v7a_GCC_4_9_Qt_5_9_0-Release/android-build/
  Application binary: C:/Users/mgkir/Documents/build-untitled-Android_armeabi_v7a_GCC_4_9_Qt_5_9_0-Release/libuntitled.so
  Android build platform: android-25
  Install to device: No
Buildfile: build.xml does not exist!
Build failed
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
Building the android package failed!
  -- For more information, run this command with --verbose.
18:23:10: Процесс «G:\QT\5.9\android_armv7\bin\androiddeployqt.exe» завершился с кодом 14.
Ошибка при сборке/установке проекта untitled (комплект: Android для armeabi-v7a (GCC 4.9, Qt 5.9.0) )
Во время выполнения этапа «Сборка Android APK»
18:23:10: Прошло времени: 00:10.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
Jacob E, 2017-05-11
@Zifix

So, it was not possible to create a virtual one, there is no real one, but for what purpose are you collecting it?

K
Kastuś, 2017-05-11
@Gytim

Everything must be written and located
Then you can think about where to send the program to a real or virtual device

N
Nikolay Baranenko, 2018-04-03
@drno-reg

Try Intellige IDEA.
Why I suggest it:
1. You do not need to separately install the Android SDK (the default component installation takes more than 20 GB)
2. You do not have a problem with the integration of emulators created in the Android SDK and IDEA.
ps started with Android SDK and IDEA.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question