ฉันยังใหม่กับ Qt และฉันกำลังพยายามปรับใช้แอป QT ไปยัง Android อย่างไรก็ตามเมื่อเรียกใช้แอพฉันได้รับข้อผิดพลาดดังต่อไปนี้:
การเริ่มต้นการปรับใช้กับอุปกรณ์ / ตัวจำลองการ Android
Deploying to
14:08:12: Running steps for project analogclock...
14:08:12: Configuration unchanged, skipping qmake step.
14:08:12: Starting: "C:\Users\KaneL\AppData\Local\Android\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" -j8
make: Nothing to be done for `first'.
14:08:13: The process "C:\Users\KaneL\AppData\Local\Android\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" exited normally.
14:08:13: Removing 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/assets
14:08:13: Removing 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/libs
14:08:13: Starting: "C:\Users\KaneL\AppData\Local\Android\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" "INSTALL_ROOT=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" install
C:\Users\KaneL\Documents\Qt\5.12.0\android_armv7\bin\qmake.exe -install qinstall -exe libanalogclock.so 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\libs\armeabi-v7a\libanalogclock.so
14:08:16: The process "C:\Users\KaneL\AppData\Local\Android\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" exited normally.
14:08:16: Starting:
"C:\Users\KaneL\Documents\Qt\5.12.0\android_armv7\bin\androiddeployqt.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:\Users\KaneL\Documents\Qt\5.12.0\android_armv7\bin\androiddeployqt.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.
ใครช่วยกรุณาช่วยฉันแก้ปัญหาใน Qt ขอบคุณ.