Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Erreur while build for android with code exit 14
Forum Updated to NodeBB v4.3 + New Features

Erreur while build for android with code exit 14

Scheduled Pinned Locked Moved Solved Mobile and Embedded
9 Posts 5 Posters 1.4k Views 2 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.
  • A Offline
    A Offline
    aminemaar
    wrote on last edited by
    #1

    Hello,
    Please how to fix this problem
    0_1551973946549_749dc6bb-7924-4ec0-87aa-c7c47dda5779-image.png

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • A aminemaar

      Hello,
      Please how to fix this problem
      0_1551973946549_749dc6bb-7924-4ec0-87aa-c7c47dda5779-image.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @aminemaar You should post the actual error which should be above of what you posted

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A aminemaar

        Hello,
        Please how to fix this problem
        0_1551973946549_749dc6bb-7924-4ec0-87aa-c7c47dda5779-image.png

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @aminemaar
        from experience, a shot in the dark:

        Make sure your ndk version is up to date (the latest available)


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        A 1 Reply Last reply
        0
        • J.HilkJ J.Hilk

          @aminemaar
          from experience, a shot in the dark:

          Make sure your ndk version is up to date (the latest available)

          A Offline
          A Offline
          aminemaar
          wrote on last edited by
          #4

          @J.Hilk the NDk version is up to date

          K 1 Reply Last reply
          0
          • A aminemaar

            @J.Hilk the NDk version is up to date

            K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            @aminemaar

            Do you have a device attached and you try to deploy to the device?
            The error message looks familiar to me besides the French language.

            IIRC it popped up in my case when I used Ctrl+B or rebuild all, but did not intend to start the App on my device through creator. It threw me off a couple of times because of this error messsage. However, I simply tried to start the App on the device through creator with Ctrl+R it worked without error message.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • A Offline
              A Offline
              aminemaar
              wrote on last edited by
              #6

              this is all output of the error
              i want to run the app on an emulator

              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)
              Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
              Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
              Building the android package failed!
                -- For more information, run this command with --verbose.
              11:49:49: Le processus "C:\Qt\Qt5.12.1\5.12.1\android_armv7\bin\androiddeployqt.exe" s'est terminé avec le code 14.
              Erreur lors de la compilation/déploiement du projet DiagBox (kit : Android for armeabi-v7a (Clang Qt 5.12.1 for Android ARMv7))
              The kit Android for armeabi-v7a (Clang Qt 5.12.1 for Android ARMv7) has configuration issues which might be the root cause for this problem.
              When executing step "Build Android APK"
              
              J.HilkJ 1 Reply Last reply
              0
              • A aminemaar

                this is all output of the error
                i want to run the app on an emulator

                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)
                Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
                Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
                Building the android package failed!
                  -- For more information, run this command with --verbose.
                11:49:49: Le processus "C:\Qt\Qt5.12.1\5.12.1\android_armv7\bin\androiddeployqt.exe" s'est terminé avec le code 14.
                Erreur lors de la compilation/déploiement du projet DiagBox (kit : Android for armeabi-v7a (Clang Qt 5.12.1 for Android ARMv7))
                The kit Android for armeabi-v7a (Clang Qt 5.12.1 for Android ARMv7) has configuration issues which might be the root cause for this problem.
                When executing step "Build Android APK"
                
                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                @aminemaar seems like the androidDeployqt tool wants to download needed files and it can not.

                Check your internet connection, proxies and anti virus software


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                A 1 Reply Last reply
                2
                • J.HilkJ J.Hilk

                  @aminemaar seems like the androidDeployqt tool wants to download needed files and it can not.

                  Check your internet connection, proxies and anti virus software

                  A Offline
                  A Offline
                  aminemaar
                  wrote on last edited by
                  #8

                  @J.Hilk Thanks i will try to disable proxy on my computer.

                  L 1 Reply Last reply
                  0
                  • A aminemaar

                    @J.Hilk Thanks i will try to disable proxy on my computer.

                    L Offline
                    L Offline
                    leventaltinpinar
                    wrote on last edited by
                    #9

                    @aminemaar
                    Hi

                    HOW YOU SOLVE

                    1 Reply Last reply
                    0

                    • Login

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