Qt 5.3.1 failed to build Android
-
Hello , I'm new to Qt .
I am trying to build a android app via Qt .
I was following this tutorial, how to deploy on android https://www.youtube.com/watch?v=_nkhlhBwkjk
And I tried to deploy default program on my AVD ,
I have no space and invalid character in folder path.
but got error below plz help me out .
@22:22:18: Running steps for project Qdroid...
22:22:18: Configuration unchanged, skipping qmake step.
22:22:18: Starting: "C:\Qt\Tools\mingw482_32\bin\mingw32-make.exe"
C:\Qdroid\NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -std=gnu++0x -g -g -gdwarf-2 -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi -W -D_REENTRANT -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I........\Qt\5.3\android_armv7\mkspecs\android-g++ -I..\Qdroid -I........\Qt\5.3\android_armv7\include -I........\Qt\5.3\android_armv7\include\QtWidgets -I........\Qt\5.3\android_armv7\include\QtGui -I........\Qt\5.3\android_armv7\include\QtCore -I. -I. -I........\Qdroid\NDK\sources\cxx-stl\gnu-libstdc++\4.9\include -I........\Qdroid\NDK\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a\include -I........\Qdroid\NDK\platforms\android-9\arch-arm\usr\include -I. -o main.obj ..\Qdroid\main.cpp
Makefile:1094: recipe for target 'main.obj' failed
process_begin: CreateProcess(NULL, C:\Qdroid\NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -std=gnu++0x -g -g -gdwarf-2 -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi -W -D_REENTRANT -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I........\Qt\5.3\android_armv7\mkspecs\android-g++ -I..\Qdroid -I........\Qt\5.3\android_armv7\include -I........\Qt\5.3\android_armv7\include\QtWidgets -I........\Qt\5.3\android_armv7\include\QtGui -I........\Qt\5.3\android_armv7\include\QtCore -I. -I. -I........\Qdroid\NDK\sources\cxx-stl\gnu-libstdc++\4.9\include -I........\Qdroid\NDK\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a\include -I........\Qdroid\NDK\platforms\android-9\arch-arm\usr\include -I. -o main.obj ..\Qdroid\main.cpp, ...) failed.
make (e=2): 系統找不到指定的檔案(The system cannot find the file specified)。mingw32-make: *** [main.obj] Error 2
22:22:18: The process "C:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project Qdroid (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.3.1))
When executing step 'Make'
22:22:18: Elapsed time: 00:01.@thanks