[SOLVED] Qt Android "install_target error 1"



  • Hi,

    I recently installed Qt 5.3.0 for android and i cant make it compile. I've installed all the necssary features "SDK, NDK, Ant and link them in QtCreator" but when compiling, i get this message "install_target error 1".

    Here are the Compiling Logs:

    @16:35:47: Exécution des étapes pour le projet Adroid_Test...
    16:35:47: Configuration inchangée, étape qmake sautée.
    16:35:47: Débute : "E:\Utilitaires\Qt\Qt5.3.0Android\Tools\mingw482_32\bin\mingw32-make.exe"
    E:\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\bin\qmake.exe -spec android-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile Adroid_Test.pro
    Le chemin d'accŠs sp‚cifi‚ est introuvable.
    E:\LIBs\NDKAndroid/toolchains/arm-linux-androideabi-4.8/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_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\mkspecs\android-g++ -I. -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtQuick -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtQml -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtNetwork -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtGui -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtCore -I. -I........\LIBs\NDKAndroid\sources\cxx-stl\gnu-libstdc++\4.8\include -I........\LIBs\NDKAndroid\sources\cxx-stl\gnu-libstdc++\4.8\libs\armeabi-v7a\include -I........\LIBs\NDKAndroid\platforms\android-9\arch-arm\usr\include -o main.obj main.cpp
    E:\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\bin\rcc.exe -name qml qml.qrc -o qrc_qml.cpp
    E:\LIBs\NDKAndroid/toolchains/arm-linux-androideabi-4.8/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_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\mkspecs\android-g++ -I. -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtQuick -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtQml -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtNetwork -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtGui -I........\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7\include\QtCore -I. -I........\LIBs\NDKAndroid\sources\cxx-stl\gnu-libstdc++\4.8\include -I........\LIBs\NDKAndroid\sources\cxx-stl\gnu-libstdc++\4.8\libs\armeabi-v7a\include -I........\LIBs\NDKAndroid\platforms\android-9\arch-arm\usr\include -o qrc_qml.obj qrc_qml.cpp
    E:\LIBs\NDKAndroid/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ --sysroot=E:\LIBs\NDKAndroid/platforms/android-9/arch-arm/ -Wl,-soname,libAdroid_Test.so -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libAdroid_Test.so main.obj qrc_qml.obj -LE:\LIBs\NDKAndroid/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -LE:\LIBs\NDKAndroid/platforms/android-9/arch-arm//usr/lib -LE:/Utilitaires/Qt/Qt5.3.0Android/5.3/android_armv7/lib -lQt5Quick -Lc:\Utils\android\ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Lc:\Utils\android\ndk/platforms/android-9/arch-arm//usr/lib -LC:\Utils\icu32_51_1_mingw482\lib -LC:\utils\postgresql\pgsql\lib -LC:\utils\mysql\mysql\lib -LC:\Utils\pgsql\lib -LC:\temp\opensll-android-master\openssl-android-master\lib -LE:\Utilitaires\Qt\Qt5.3.0Android\5.3\android_armv7/lib -lQt5Qml -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
    16:35:55: Le processus "E:\Utilitaires\Qt\Qt5.3.0Android\Tools\mingw482_32\bin\mingw32-make.exe" s'est terminé normalement.
    16:35:55: Débute : "E:\Utilitaires\Qt\Qt5.3.0Android\Tools\mingw482_32\bin\mingw32-make.exe" INSTALL_ROOT="E:\\\\Doc !!\\\\Projet\\\\Qt\\\\Adroid_Test\\\\android-build" install
    Le chemin d'accŠs sp‚cifi‚ est introuvable.
    Le chemin d'accŠs sp‚cifi‚ est introuvable.
    Makefile:738: recipe for target 'install_target' failed
    mingw32-make: *** [install_target] Error 1
    16:35:57: Le processus "E:\Utilitaires\Qt\Qt5.3.0Android\Tools\mingw482_32\bin\mingw32-make.exe" s'est terminé avec le code 2.
    Erreur lors de la compilation/déploiement du projet Adroid_Test (kit : Android pour armeabi-v7a (GCC 4.8, Qt 5.3.0))
    Lors de l'exécution de l'étape "Copie des données de l'application"
    16:35:57: Temps écoulé : 00:10.@

    I found several threads about this kind of problem but none was very usefull.
    Thanks, I appreciate your help.

    "if any information are needed ask me."


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Is

    @E:\Doc !!\Projet\Qt\Adroid_Test@

    the path to your project ?

    If so, move it somewhere without spaces and special chars and retry



  • HI,

    You mean, even the name of other folder in the path ? not only the project name ?
    I'll try that! thanks.



  • Indeed, that was the source of the problem, thanks a lot.


  • Lifetime Qt Champion

    Special characters and spaces are evil ;)

    Happy coding !


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.