Deployment of stocqt example project for android in 5.3.2 with creator 3.2.2 issue
-
Hi all, using Win7 and QtCreator, I am trying to deploy some measurement software to android, so I tried to deploy the StocQt example project to my android phone.
I Installed the android sdk, ndk and the apache parts on the Harddisk. Building and running on and for the PC works without issues.
When choosing the Android Kit (Android for armeabi-v7a (GCC 4.8)) the build itself works fine, but when deploying, I get the following error messages:@12:06:19: Starting: "C:\Qt\5.3\android_armv7\bin\androiddeployqt.exe" --input C:/Qt/Examples/Qt-5.3/quick/demos/build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2/android-libstocqt.so-deployment-settings.json --output C:/Qt/Examples/Qt-5.3/quick/demos/build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2/android-build --deployment bundled --install --ant C:/android/apache/apache-ant-1.9.4/bin/ant.cmd --android-platform android-21 --jdk "C:/Program Files (x86)/Java/jdk1.7.0_71" --device 0123456789ABCDEF
12:06:19: Pulling files necessary for debugging.
12:06:19: Package deploy: Running command 'C:/android/sdk/platform-tools/adb.exe -s 0123456789ABCDEF pull /system/bin/app_process C:/Qt/Examples/Qt-5.3/quick/demos/build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2/app_process'.
12:06:19: Package deploy: Running command 'C:/android/sdk/platform-tools/adb.exe -s 0123456789ABCDEF pull /system/lib/libc.so C:/Qt/Examples/Qt-5.3/quick/demos/build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2/libc.so'.
'/*' is not recognized as an internal or external command,
operable program or batch file.
'Licensed' is not recognized as an internal or external command,
operable program or batch file.
'contributor' is not recognized as an internal or external command,
operable program or batch file.
'this' is not recognized as an internal or external command,
operable program or batch file.
'The' is not recognized as an internal or external command,
operable program or batch file.
you was unexpected at this time.
Generating Android Package
Input file: C:/Qt/Examples/Qt-5.3/quick/demos/build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2/android-libstocqt.so-deployment-settings.json
Output directory: C:/Qt/Examples/Qt-5.3/quick/demos/build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2/android-build
Application binary: C:/Qt/Examples/Qt-5.3/quick/demos/build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2/libstocqt.so
Android build platform: android-21
Install to device: 0123456789ABCDEFC:\Qt\Examples\Qt-5.3\quick\demos\build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2\android-build>/*
C:\Qt\Examples\Qt-5.3\quick\demos\build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2\android-build>Licensed to the Apache Software Foundation (ASF) under one or more
C:\Qt\Examples\Qt-5.3\quick\demos\build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2\android-build>contributor license agreements. See the NOTICE file distributed with
Building the android package failed!
-- For more information, run this command with --verbose.
C:\Qt\Examples\Qt-5.3\quick\demos\build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2\android-build>this work for additional information regarding copyright ownership.C:\Qt\Examples\Qt-5.3\quick\demos\build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2\android-build>The ASF licenses this file to You under the Apache License, Version 2.0
C:\Qt\Examples\Qt-5.3\quick\demos\build-stocqt-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_2\android-build> (the "License"); you may not use this file except in compliance with
12:06:23: The process "C:\Qt\5.3\android_armv7\bin\androiddeployqt.exe" exited with code 14.
Error while building/deploying project stocqt (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.2))
When executing step "Deploy to Android device"
@To me, it looks like in lines 5..15 the problems start - some comment gets in the way and is interpreted as commands. I tried to execute the command in line 4 manually - it works without problems. Starting from Line 23, obviously a file from the Apache directory is piped to the command interpreter. Can anybody point me to the solution of this issue?
Thx,
Uwe