Qt for android apps












0















I am new to Qt and I am trying to deploy a QT app onto android. However, when running the app, I got the following errors:



initializing deployment to Android device/simulator



Deploying to   
14:08:12: Running steps for project analogclock...
14:08:12: Configuration unchanged, skipping qmake step.
14:08:12: Starting: "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" -j8
make: Nothing to be done for `first'.
14:08:13: The process "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" exited normally.
14:08:13: Removing directory C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build/assets
14:08:13: Removing directory C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build/libs
14:08:13: Starting: "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" "INSTALL_ROOT=C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build" install
C:UsersKaneLDocumentsQt5.12.0android_armv7binqmake.exe -install qinstall -exe libanalogclock.so C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-buildlibsarmeabi-v7alibanalogclock.so
14:08:16: The process "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" exited normally.
14:08:16: Starting:
"C:UsersKaneLDocumentsQt5.12.0android_armv7binandroiddeployqt.exe" --input C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libanalogclock.so-deployment-settings.json --output C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-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_191" --gradle
Generating Android Package
Input file: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libanalogclock.so-deployment-settings.json
Output directory: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-build/
Application binary: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/libanalogclock.so
Android build platform: android-28
Install to device: No
-- Skipping C:/Users/KaneL/Documents/Qt/5.12.0/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so,lib/libQt5Widgets.so.
-- Skipping C:/Users/KaneL/Documents/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

Exception in thread "main" java.net.ConnectException: Connection timed out:
connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
at org.gradle.wrapper.Download.download(Download.java:51)
at org.gradle.wrapper.Install$1.call(Install.java:62)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Building the android package failed!
-- For more information, run this command with --verbose.
14:08:46: The process "C:UsersKaneLDocumentsQt5.12.0android_armv7binandroiddeployqt.exe" exited with code 14.
Error while building/deploying project analogclock (kit: Android for armeabi-v7a (Clang Qt 5.12.0 for Android ARMv7))
When executing step "Build Android APK"
14:08:46: Elapsed time: 00:34.


Can someone please help me to solve the problem in Qt? Thank you.










share|improve this question













migrated from superuser.com Jan 17 at 6:04


This question came from our site for computer enthusiasts and power users.























    0















    I am new to Qt and I am trying to deploy a QT app onto android. However, when running the app, I got the following errors:



    initializing deployment to Android device/simulator



    Deploying to   
    14:08:12: Running steps for project analogclock...
    14:08:12: Configuration unchanged, skipping qmake step.
    14:08:12: Starting: "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" -j8
    make: Nothing to be done for `first'.
    14:08:13: The process "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" exited normally.
    14:08:13: Removing directory C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build/assets
    14:08:13: Removing directory C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build/libs
    14:08:13: Starting: "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" "INSTALL_ROOT=C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build" install
    C:UsersKaneLDocumentsQt5.12.0android_armv7binqmake.exe -install qinstall -exe libanalogclock.so C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-buildlibsarmeabi-v7alibanalogclock.so
    14:08:16: The process "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" exited normally.
    14:08:16: Starting:
    "C:UsersKaneLDocumentsQt5.12.0android_armv7binandroiddeployqt.exe" --input C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libanalogclock.so-deployment-settings.json --output C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-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_191" --gradle
    Generating Android Package
    Input file: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libanalogclock.so-deployment-settings.json
    Output directory: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-build/
    Application binary: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/libanalogclock.so
    Android build platform: android-28
    Install to device: No
    -- Skipping C:/Users/KaneL/Documents/Qt/5.12.0/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so,lib/libQt5Widgets.so.
    -- Skipping C:/Users/KaneL/Documents/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

    Exception in thread "main" java.net.ConnectException: Connection timed out:
    connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
    at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
    at org.gradle.wrapper.Download.download(Download.java:51)
    at org.gradle.wrapper.Install$1.call(Install.java:62)
    at org.gradle.wrapper.Install$1.call(Install.java:48)
    at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
    at org.gradle.wrapper.Install.createDist(Install.java:48)
    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
    Building the android package failed!
    -- For more information, run this command with --verbose.
    14:08:46: The process "C:UsersKaneLDocumentsQt5.12.0android_armv7binandroiddeployqt.exe" exited with code 14.
    Error while building/deploying project analogclock (kit: Android for armeabi-v7a (Clang Qt 5.12.0 for Android ARMv7))
    When executing step "Build Android APK"
    14:08:46: Elapsed time: 00:34.


    Can someone please help me to solve the problem in Qt? Thank you.










    share|improve this question













    migrated from superuser.com Jan 17 at 6:04


    This question came from our site for computer enthusiasts and power users.





















      0












      0








      0








      I am new to Qt and I am trying to deploy a QT app onto android. However, when running the app, I got the following errors:



      initializing deployment to Android device/simulator



      Deploying to   
      14:08:12: Running steps for project analogclock...
      14:08:12: Configuration unchanged, skipping qmake step.
      14:08:12: Starting: "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" -j8
      make: Nothing to be done for `first'.
      14:08:13: The process "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" exited normally.
      14:08:13: Removing directory C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build/assets
      14:08:13: Removing directory C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build/libs
      14:08:13: Starting: "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" "INSTALL_ROOT=C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build" install
      C:UsersKaneLDocumentsQt5.12.0android_armv7binqmake.exe -install qinstall -exe libanalogclock.so C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-buildlibsarmeabi-v7alibanalogclock.so
      14:08:16: The process "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" exited normally.
      14:08:16: Starting:
      "C:UsersKaneLDocumentsQt5.12.0android_armv7binandroiddeployqt.exe" --input C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libanalogclock.so-deployment-settings.json --output C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-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_191" --gradle
      Generating Android Package
      Input file: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libanalogclock.so-deployment-settings.json
      Output directory: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-build/
      Application binary: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/libanalogclock.so
      Android build platform: android-28
      Install to device: No
      -- Skipping C:/Users/KaneL/Documents/Qt/5.12.0/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so,lib/libQt5Widgets.so.
      -- Skipping C:/Users/KaneL/Documents/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

      Exception in thread "main" java.net.ConnectException: Connection timed out:
      connect
      at java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      at java.net.Socket.connect(Socket.java:589)
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
      at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
      at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
      at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
      at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
      at org.gradle.wrapper.Download.download(Download.java:51)
      at org.gradle.wrapper.Install$1.call(Install.java:62)
      at org.gradle.wrapper.Install$1.call(Install.java:48)
      at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
      at org.gradle.wrapper.Install.createDist(Install.java:48)
      at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
      at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
      Building the android package failed!
      -- For more information, run this command with --verbose.
      14:08:46: The process "C:UsersKaneLDocumentsQt5.12.0android_armv7binandroiddeployqt.exe" exited with code 14.
      Error while building/deploying project analogclock (kit: Android for armeabi-v7a (Clang Qt 5.12.0 for Android ARMv7))
      When executing step "Build Android APK"
      14:08:46: Elapsed time: 00:34.


      Can someone please help me to solve the problem in Qt? Thank you.










      share|improve this question














      I am new to Qt and I am trying to deploy a QT app onto android. However, when running the app, I got the following errors:



      initializing deployment to Android device/simulator



      Deploying to   
      14:08:12: Running steps for project analogclock...
      14:08:12: Configuration unchanged, skipping qmake step.
      14:08:12: Starting: "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" -j8
      make: Nothing to be done for `first'.
      14:08:13: The process "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" exited normally.
      14:08:13: Removing directory C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build/assets
      14:08:13: Removing directory C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build/libs
      14:08:13: Starting: "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" "INSTALL_ROOT=C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-build" install
      C:UsersKaneLDocumentsQt5.12.0android_armv7binqmake.exe -install qinstall -exe libanalogclock.so C:UsersKaneLDocumentsQtExamplesQt-5.12.0guibuild-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debugandroid-buildlibsarmeabi-v7alibanalogclock.so
      14:08:16: The process "C:UsersKaneLAppDataLocalAndroidandroid-ndk-r18bprebuiltwindows-x86_64binmake.exe" exited normally.
      14:08:16: Starting:
      "C:UsersKaneLDocumentsQt5.12.0android_armv7binandroiddeployqt.exe" --input C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libanalogclock.so-deployment-settings.json --output C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-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_191" --gradle
      Generating Android Package
      Input file: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-libanalogclock.so-deployment-settings.json
      Output directory: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/android-build/
      Application binary: C:/Users/KaneL/Documents/Qt/Examples/Qt-5.12.0/gui/build-analogclock-Android_for_armeabi_v7a_Clang_Qt_5_12_0_for_Android_ARMv7-Debug/libanalogclock.so
      Android build platform: android-28
      Install to device: No
      -- Skipping C:/Users/KaneL/Documents/Qt/5.12.0/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so,lib/libQt5Widgets.so.
      -- Skipping C:/Users/KaneL/Documents/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

      Exception in thread "main" java.net.ConnectException: Connection timed out:
      connect
      at java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      at java.net.Socket.connect(Socket.java:589)
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
      at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
      at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
      at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
      at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
      at org.gradle.wrapper.Download.download(Download.java:51)
      at org.gradle.wrapper.Install$1.call(Install.java:62)
      at org.gradle.wrapper.Install$1.call(Install.java:48)
      at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
      at org.gradle.wrapper.Install.createDist(Install.java:48)
      at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
      at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
      Building the android package failed!
      -- For more information, run this command with --verbose.
      14:08:46: The process "C:UsersKaneLDocumentsQt5.12.0android_armv7binandroiddeployqt.exe" exited with code 14.
      Error while building/deploying project analogclock (kit: Android for armeabi-v7a (Clang Qt 5.12.0 for Android ARMv7))
      When executing step "Build Android APK"
      14:08:46: Elapsed time: 00:34.


      Can someone please help me to solve the problem in Qt? Thank you.







      windows android






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 16 at 22:15







      user986119











      migrated from superuser.com Jan 17 at 6:04


      This question came from our site for computer enthusiasts and power users.









      migrated from superuser.com Jan 17 at 6:04


      This question came from our site for computer enthusiasts and power users.


























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54229900%2fqt-for-android-apps%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown
























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54229900%2fqt-for-android-apps%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix