Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Build a QML program to create the APK file and warnings
Forum Updated to NodeBB v4.3 + New Features

Build a QML program to create the APK file and warnings

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tomy
    wrote on 24 Dec 2018, 16:44 last edited by tomy
    #1

    Hi,

    After finishing the preliminary version of a QML app, I went for building its APK file. Hence, on Qt Creator 4.8.0, I tapped the Build bottom for the Arm7, Debug mode, kit.

    Below is the outcome of the Compile Output window. As it's shown, there are five lines in red as warnings.
    My questions are:

    1- Is it a normal way of creating the APK file for Android devices to test the program?
    2- Have I done the work correctly?
    3- I see no difference in size of either Release or Debug mode for the above app, is it ordinary?
    4- I think the APK file for testing on Android devices must be in the Release mode of the Arm7 kit. It it right?

    19:46:59: Running steps for project Ping_Pong...
    19:46:59: Starting: "C:\Qt\5.12.0\android_armv7\bin\qmake.exe" C:\Users\Abbasi\Desktop\Q_Apps\QML_Apps\Ping_Pong\Ping_Pong\Ping_Pong.pro -spec android-clang "CONFIG+=debug" "CONFIG+=qml_debug"
    Info: creating stash file C:\Users\Abbasi\Desktop\Q_Apps\QML_Apps\build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug.qmake.stash
    19:46:59: The process "C:\Qt\5.12.0\android_armv7\bin\qmake.exe" exited normally.
    19:46:59: Starting: "D:\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" -f C:/Users/Abbasi/Desktop/Q_Apps/QML_Apps/build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/Makefile qmake_all
    make: Nothing to be done for `qmake_all'.
    19:46:59: The process "D:\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" exited normally.
    19:46:59: Starting: "D:\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" -j4
    D:\android-ndk-r18b/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -c -D__ANDROID_API__=16 -target armv7-none-linux-androideabi -gcc-toolchain D:\android-ndk-r18b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 -DANDROID_HAS_WSTRING --sysroot=D:\android-ndk-r18b/sysroot -isystem D:\android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isystem D:\android-ndk-r18b/sources/cxx-stl/llvm-libc++/include -isystem D:\android-ndk-r18b/sources/android/support/include -isystem D:\android-ndk-r18b/sources/cxx-stl/llvm-libc++abi/include -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\Ping_Pong\Ping_Pong -I. -IC:\Qt\5.12.0\android_armv7\include -IC:\Qt\5.12.0\android_armv7\include\QtQuick -IC:\Qt\5.12.0\android_armv7\include\QtGui -IC:\Qt\5.12.0\android_armv7\include\QtQml -IC:\Qt\5.12.0\android_armv7\include\QtNetwork -IC:\Qt\5.12.0\android_armv7\include\QtCore -I. -IC:\Qt\5.12.0\android_armv7\mkspecs\android-clang -o main.obj ..\Ping_Pong\Ping_Pong\main.cpp
    C:\Qt\5.12.0\android_armv7\bin\rcc.exe -name qml ..\Ping_Pong\Ping_Pong\qml.qrc -o qrc_qml.cpp
    D:\android-ndk-r18b/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -c -D__ANDROID_API__=16 -target armv7-none-linux-androideabi -gcc-toolchain D:\android-ndk-r18b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 -DANDROID_HAS_WSTRING --sysroot=D:\android-ndk-r18b/sysroot -isystem D:\android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -isystem D:\android-ndk-r18b/sources/cxx-stl/llvm-libc++/include -isystem D:\android-ndk-r18b/sources/android/support/include -isystem D:\android-ndk-r18b/sources/cxx-stl/llvm-libc++abi/include -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\Ping_Pong\Ping_Pong -I. -IC:\Qt\5.12.0\android_armv7\include -IC:\Qt\5.12.0\android_armv7\include\QtQuick -IC:\Qt\5.12.0\android_armv7\include\QtGui -IC:\Qt\5.12.0\android_armv7\include\QtQml -IC:\Qt\5.12.0\android_armv7\include\QtNetwork -IC:\Qt\5.12.0\android_armv7\include\QtCore -I. -IC:\Qt\5.12.0\android_armv7\mkspecs\android-clang -o qrc_qml.obj qrc_qml.cpp
    D:\android-ndk-r18b/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -D__ANDROID_API__=16 -target armv7-none-linux-androideabi -gcc-toolchain D:\android-ndk-r18b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 -Wl,--exclude-libs,libgcc.a --sysroot=D:\android-ndk-r18b/platforms/android-16/arch-arm/ -Wl,-soname,libPing_Pong.so -Wl,-rpath=C:/Qt/5.12.0/android_armv7/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libPing_Pong.so main.obj qrc_qml.obj -LC:/Qt/5.12.0/android_armv7/lib -lQt5Quick -LC:\Qt\5.12.0\android_armv7/lib -Lc:\Utils\Android\android-ndk-r18b/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGLESv2 -LD:\android-ndk-r18b/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a D:\android-ndk-r18b/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libc++.so.16 -llog -lz -lm -ldl -lc
    19:47:01: The process "D:\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" exited normally.
    19:47:01: Starting: "D:\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" "INSTALL_ROOT=C:\Users\Abbasi\Desktop\Q_Apps\QML_Apps\build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug\android-build" install
    C:\Qt\5.12.0\android_armv7\bin\qmake.exe -install qinstall -exe libPing_Pong.so C:\Users\Abbasi\Desktop\Q_Apps\QML_Apps\build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug\android-build\libs\armeabi-v7a\libPing_Pong.so
    19:47:02: The process "D:\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" exited normally.
    19:47:02: Starting: "C:\Qt\5.12.0\android_armv7\bin\androiddeployqt.exe" --input C:/Users/Abbasi/Desktop/Q_Apps/QML_Apps/build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libPing_Pong.so-deployment-settings.json --output C:/Users/Abbasi/Desktop/Q_Apps/QML_Apps/build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-build --android-platform android-28 --jdk "C:/Program Files/Java/jdk1.8.0_121" --gradle
    Generating Android Package
    Input file: C:/Users/Abbasi/Desktop/Q_Apps/QML_Apps/build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libPing_Pong.so-deployment-settings.json
    Output directory: C:/Users/Abbasi/Desktop/Q_Apps/QML_Apps/build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-build/
    Application binary: C:/Users/Abbasi/Desktop/Q_Apps/QML_Apps/build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/libPing_Pong.so
    Android build platform: android-28
    Install to device: No
    -- Skipping C:/Qt/5.12.0/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so,lib/libQt5Widgets.so.
    -- Skipping C:/Qt/5.12.0/android_armv7/plugins/imageformats/libqsvg.so. It has unmet dependencies: lib/libQt5Svg.so,lib/libQt5Widgets.so.
    Downloading https://services.gradle.org/distributions/gradle-4.6-bin.zip
    ......................................................................
    Unzipping C:\Users\Abbasi.gradle\wrapper\dists\gradle-4.6-bin\4jp4stjndanmxuerzfseyb6wo\gradle-4.6-bin.zip to C:\Users\Abbasi.gradle\wrapper\dists\gradle-4.6-bin\4jp4stjndanmxuerzfseyb6wo
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.2.0/gradle-3.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/crash/26.2.0/crash-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-compiler-common/3.2.0/databinding-compiler-common-3.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/shared/26.2.0/shared-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-api/3.2.0/gradle-api-3.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-gradle-api/26.2.0/lint-gradle-api-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.pom
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/6.0/asm-analysis-6.0.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm/6.0/asm-6.0.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/6.0/asm-commons-6.0.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm-util/6.0/asm-util-6.0.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/6.0/asm-parent-6.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.5.0/bundletool-0.5.0.pom
    Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-processor/1.0.0-alpha10/jetifier-processor-1.0.0-alpha10.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-core/1.0.0-alpha10/jetifier-core-1.0.0-alpha10.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.2.0/builder-3.2.0.pom
    Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/6.0.3/proguard-parent-6.0.3.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/sdklib/26.2.0/sdklib-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-test-api/3.2.0/builder-test-api-3.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/3.2.0/builder-model-3.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/26.2.0/sdk-common-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/manifest-merger/26.2.0/manifest-merger-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/ddms/ddmlib/26.2.0/ddmlib-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/26.2.0/protos-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/26.2.0/tracker-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/3.2.0/apksig-3.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/apkzlib/3.2.0/apkzlib-3.2.0.pom
    Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom
    Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom
    Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/6.0/asm-tree-6.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/common/26.2.0/common-26.2.0.pom
    Download https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom
    Download https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.2.0/annotations-26.2.0.pom
    Download https://jcenter.bintray.com/com/google/guava/guava/23.0/guava-23.0.pom
    Download https://jcenter.bintray.com/com/google/code/gson/gson/2.8.0/gson-2.8.0.pom
    Download https://jcenter.bintray.com/com/google/guava/guava-parent/23.0/guava-parent-23.0.pom
    Download https://jcenter.bintray.com/com/google/code/gson/gson-parent/2.8.0/gson-parent-2.8.0.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.4.5/httpcomponents-core-4.4.5.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.5.2/httpcomponents-client-4.5.2.pom
    Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.2.0/kotlin-reflect-1.2.0.pom
    Download https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-common/3.2.0/databinding-common-3.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/3.2.0/baseLibrary-3.2.0.pom
    Download https://jcenter.bintray.com/com/squareup/javapoet/1.8.0/javapoet-1.8.0.pom
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre7/1.2.0/kotlin-stdlib-jre7-1.2.0.pom
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.pom
    Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/6.0.3/proguard-base-6.0.3.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.pom
    Download https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.pom
    Download https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.pom
    Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.pom
    Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.4.0/protobuf-java-util-3.4.0.pom
    Download https://jcenter.bintray.com/com/google/auto/auto-parent/3/auto-parent-3.pom
    Download https://jcenter.bintray.com/com/google/protobuf/protobuf-parent/3.4.0/protobuf-parent-3.4.0.pom
    Download https://jcenter.bintray.com/com/google/errorprone/error_prone_parent/2.2.0/error_prone_parent-2.2.0.pom
    Download https://jcenter.bintray.com/org/jdom/jdom2/2.0.6/jdom2-2.0.6.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/layoutlib/layoutlib-api/26.2.0/layoutlib-api-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/repository/26.2.0/repository-26.2.0.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/26.2.0/dvlib-26.2.0.pom
    Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom
    Download https://jcenter.bintray.com/org/apache/commons/commons-parent/39/commons-parent-39.pom
    Download https://jcenter.bintray.com/org/apache/apache/16/apache-16.pom
    Download https://jcenter.bintray.com/javax/inject/javax.inject/1/javax.inject-1.pom
    Download https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom
    Download https://jcenter.bintray.com/commons-codec/commons-codec/1.9/commons-codec-1.9.pom
    Download https://jcenter.bintray.com/commons-logging/commons-logging/1.2/commons-logging-1.2.pom
    Download https://jcenter.bintray.com/org/apache/commons/commons-parent/34/commons-parent-34.pom
    Download https://jcenter.bintray.com/org/apache/commons/commons-parent/32/commons-parent-32.pom
    Download https://jcenter.bintray.com/org/jetbrains/annotations/13.0/annotations-13.0.pom
    Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom
    Download https://jcenter.bintray.com/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom
    Download https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom
    Download https://jcenter.bintray.com/com/sun/activation/all/1.2.0/all-1.2.0.pom
    Download https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom
    Download https://jcenter.bintray.com/net/java/jvnet-parent/1/jvnet-parent-1.pom
    Download https://jcenter.bintray.com/com/sun/xml/bind/jaxb-bom-ext/2.2.11/jaxb-bom-ext-2.2.11.pom
    Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-bom/2.2.11/jaxb-bom-2.2.11.pom
    Download https://jcenter.bintray.com/net/java/jvnet-parent/4/jvnet-parent-4.pom
    Download https://jcenter.bintray.com/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.pom
    Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.pom
    Download https://jcenter.bintray.com/org/jvnet/staxex/stax-ex/1.7.7/stax-ex-1.7.7.pom
    Download https://jcenter.bintray.com/com/sun/xml/fastinfoset/fastinfoset-project/1.2.13/fastinfoset-project-1.2.13.pom
    Download https://jcenter.bintray.com/net/java/jvnet-parent/3/jvnet-parent-3.pom
    Download https://jcenter.bintray.com/javax/xml/bind/jaxb-api/2.2.12-b140109.1041/jaxb-api-2.2.12-b140109.1041.pom
    Download https://jcenter.bintray.com/com/sun/istack/istack-commons-runtime/2.21/istack-commons-runtime-2.21.pom
    Download https://jcenter.bintray.com/org/glassfish/jaxb/txw2/2.2.11/txw2-2.2.11.pom
    Download https://jcenter.bintray.com/com/sun/istack/istack-commons/2.21/istack-commons-2.21.pom
    Download https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-txw-parent/2.2.11/jaxb-txw-parent-2.2.11.pom
    Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.pom
    Download https://jcenter.bintray.com/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.pom
    Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-parent/1.14/animal-sniffer-parent-1.14.pom
    Download https://jcenter.bintray.com/org/codehaus/mojo/mojo-parent/34/mojo-parent-34.pom
    Download https://jcenter.bintray.com/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.20/kotlin-stdlib-1.2.20.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.2.0/gradle-3.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.2.0/builder-3.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/shared/26.2.0/shared-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/26.2.0/tracker-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-api/3.2.0/gradle-api-3.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-gradle-api/26.2.0/lint-gradle-api-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-compiler-common/3.2.0/databinding-compiler-common-3.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/manifest-merger/26.2.0/manifest-merger-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/26.2.0/sdk-common-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-test-api/3.2.0/builder-test-api-3.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/ddms/ddmlib/26.2.0/ddmlib-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/sdklib/26.2.0/sdklib-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/layoutlib/layoutlib-api/26.2.0/layoutlib-api-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/26.2.0/dvlib-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/common/26.2.0/common-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/repository/26.2.0/repository-26.2.0.jar
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-processor/1.0.0-alpha10/jetifier-processor-1.0.0-alpha10.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
    Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/6.0/asm-analysis-6.0.jar
    Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/6.0/asm-commons-6.0.jar
    Download https://jcenter.bintray.com/org/ow2/asm/asm-util/6.0/asm-util-6.0.jar
    Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/6.0/asm-tree-6.0.jar
    Download https://jcenter.bintray.com/org/ow2/asm/asm/6.0/asm-6.0.jar
    Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.5.0/bundletool-0.5.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-core/1.0.0-alpha10/jetifier-core-1.0.0-alpha10.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/3.2.0/builder-model-3.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/26.2.0/protos-26.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/apkzlib/3.2.0/apkzlib-3.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/3.2.0/apksig-3.2.0.jar
    Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.jar
    Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.jar
    Download https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar
    Download https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.2.0/annotations-26.2.0.jar
    Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.4.0/protobuf-java-util-3.4.0.jar
    Download https://jcenter.bintray.com/com/google/guava/guava/23.0/guava-23.0.jar
    Download https://jcenter.bintray.com/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
    Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.2.0/kotlin-reflect-1.2.0.jar
    Download https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-common/3.2.0/databinding-common-3.2.0.jar
    Download https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/3.2.0/baseLibrary-3.2.0.jar
    Download https://jcenter.bintray.com/com/squareup/javapoet/1.8.0/javapoet-1.8.0.jar
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre7/1.2.0/kotlin-stdlib-jre7-1.2.0.jar
    Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.20/kotlin-stdlib-1.2.20.jar
    Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/6.0.3/proguard-base-6.0.3.jar
    Download https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar
    Download https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.jar
    Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar
    Download https://jcenter.bintray.com/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar
    Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.jar
    Download https://jcenter.bintray.com/javax/inject/javax.inject/1/javax.inject-1.jar
    Download https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
    Download https://jcenter.bintray.com/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
    Download https://jcenter.bintray.com/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
    Download https://jcenter.bintray.com/org/jetbrains/annotations/13.0/annotations-13.0.jar
    Download https://jcenter.bintray.com/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar
    Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar
    Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
    Download https://jcenter.bintray.com/org/jvnet/staxex/stax-ex/1.7.7/stax-ex-1.7.7.jar
    Download https://jcenter.bintray.com/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.jar
    Download https://jcenter.bintray.com/javax/xml/bind/jaxb-api/2.2.12-b140109.1041/jaxb-api-2.2.12-b140109.1041.jar
    Download https://jcenter.bintray.com/org/glassfish/jaxb/txw2/2.2.11/txw2-2.2.11.jar
    Download https://jcenter.bintray.com/com/sun/istack/istack-commons-runtime/2.21/istack-commons-runtime-2.21.jar
    Download https://jcenter.bintray.com/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
    Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar
    Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/crash/26.2.0/crash-26.2.0.jar
    :checkDebugClasspath
    :preBuild UP-TO-DATE
    :preDebugBuild
    :compileDebugAidl
    :compileDebugRenderscript
    :checkDebugManifest
    :generateDebugBuildConfig
    :prepareLintJar
    :mainApkListPersistenceDebug
    :generateDebugResValues
    :generateDebugResources
    :mergeDebugResources
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971.pom
    Download https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.0-4818971/aapt2-3.2.0-4818971-windows.jar
    :createDebugCompatibleScreenManifests
    :processDebugManifest
    :splitsDiscoveryTaskDebug
    :processDebugResources
    :generateDebugSources
    :javaPreCompileDebug
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    :compileDebugJavaWithJavac
    :compileDebugNdk NO-SOURCE
    :compileDebugSources
    :mergeDebugShaders
    :compileDebugShaders
    :generateDebugAssets
    :mergeDebugAssets
    :transformClassesWithDexBuilderForDebug
    :transformDexArchiveWithExternalLibsDexMergerForDebug
    :transformDexArchiveWithDexMergerForDebug
    :mergeDebugJniLibFolders
    :transformNativeLibsWithMergeJniLibsForDebug
    :checkDebugLibraries
    :processDebugJavaRes NO-SOURCE
    :transformResourcesWithMergeJavaResForDebug
    :validateSigningDebug
    :packageDebug
    :assembleDebug

    BUILD SUCCESSFUL in 8m 2s
    28 actionable tasks: 28 executed
    Android package built successfully in 491.942 ms.
    -- File: C:/Users/Abbasi/Desktop/Q_Apps/QML_Apps/build-Ping_Pong-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-build//build/outputs/apk/debug/android-buil-debug.pk
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Cotrols.ipl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.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
    19:55:14: The process "C:\Qt\5.12.0\android_armv7\bin\androiddeployqt.exe" exited normally.
    19:55:14: Elapsed time: 08:15.

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on 25 Dec 2018, 03:34 last edited by
      #2

      Looks like you are system was not setup. Hence it will download all the necessary things. This will not happen every time. After all this did creator deploy the application on android mobile ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      T 1 Reply Last reply 25 Dec 2018, 12:21
      1
      • dheerendraD dheerendra
        25 Dec 2018, 03:34

        Looks like you are system was not setup. Hence it will download all the necessary things. This will not happen every time. After all this did creator deploy the application on android mobile ?

        T Offline
        T Offline
        tomy
        wrote on 25 Dec 2018, 12:21 last edited by
        #3

        @dheerendra

        did creator deploy the application on android mobile ?

        Hi, thanks for the reply.
        No, it's not working well on Android devices. What is the problem please?

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on 25 Dec 2018, 14:33 last edited by
          #4

          Did you do the setup for Android with instruction at WIKI. When you connect the Android device to your laptop, is it recognised in Qt Creator ?

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          T 1 Reply Last reply 25 Dec 2018, 15:34
          0
          • dheerendraD dheerendra
            25 Dec 2018, 14:33

            Did you do the setup for Android with instruction at WIKI. When you connect the Android device to your laptop, is it recognised in Qt Creator ?

            T Offline
            T Offline
            tomy
            wrote on 25 Dec 2018, 15:34 last edited by
            #5

            @dheerendra
            I don't have an Android device. So I just Build the program on the Android Arm7 kit in the Debug mode and then copy the created .apk file and send that to friends who have Android phones to test it.

            Here's my the details for the files on my PC:

            0_1545751824932_Capture.PNG

            Bye the way, the result of testing the application (a simple ping pong game) was as below. Shown half! :(

            0_1545751969364_photo_2018-12-25_19-02-37.jpg

            While it's shown well when run by the Desktop kit on Windows:

            0_1545752026724_Untitled.png

            What could be the problem please?

            1 Reply Last reply
            0
            • dheerendraD Offline
              dheerendraD Offline
              dheerendra
              Qt Champions 2022
              wrote on 25 Dec 2018, 15:38 last edited by
              #6

              This indicates that you are able to build the APK & install on the Android device. It could be size of issue of top level object. Can you check what is the size(width, height) of top level item in your example.

              Dheerendra
              @Community Service
              Certified Qt Specialist
              http://www.pthinks.com

              T 1 Reply Last reply 25 Dec 2018, 15:51
              0
              • dheerendraD dheerendra
                25 Dec 2018, 15:38

                This indicates that you are able to build the APK & install on the Android device. It could be size of issue of top level object. Can you check what is the size(width, height) of top level item in your example.

                T Offline
                T Offline
                tomy
                wrote on 25 Dec 2018, 15:51 last edited by
                #7

                @dheerendra

                The top level item on the program is the window and it starts this way:

                Window {
                    id: window
                    visible: true
                    visibility: Window.Maximized
                    title: qsTr("The PingPong Game - A QML Game")
                    color: "gray"
                 ...
                

                Is there something incorrect with this please?

                1 Reply Last reply
                0

                1/7

                24 Dec 2018, 16:44

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved