2017-10-05 46 views
0

我剛剛安裝的Qt 5.9 - Android for armeabi-v7a (GCC 4.9, Qt 5.9.1 for Android armv7)建設有新的Qt 5.9的Android失敗

然後,我已經下載並安裝了所有的Android包: Android packages

然後,我已經創造了新的Qt Quick的應用程序項目在Qt Creator中。 但在構建項目中,我得到一些奇怪的錯誤:

22:02:34: Starting: "D:\Qt\Qt5.9\Tools\mingw530_32\bin\mingw32-make.exe" "INSTALL_ROOT=D:/source/build-Ble-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-build" install 
     0 [main] sh 4200 sync_with_child: child 4856(0x1A0) died before initialization with status code 0xC0000142 
    16 [main] sh 4200 sync_with_child: *** child state waiting for longjmp 
/usr/bin/sh: fork: Resource temporarily unavailable 
Makefile:884: recipe for target 'install_target' failed 
mingw32-make: *** [install_target] Error 129 

看來,建設失敗的一些shell腳本,但我不知道它在哪裏。正如我所看到的,它與安裝過程有關。編譯和鏈接代碼完成沒有任何問題。

回答

0

好的,問題已經找到。我有一個名爲AVRDude的AVR固件上傳工具。看起來,在安裝AVRDude時,它自己添加到PATH環境中,所以Qt需要sh和此文件夾中的所有其他bash工具。

PATH中刪除AVRDude並重建項目解決了問題。