Problem in deployment on Android



  • I'm new bee in qt and installed everything, even emulator runs fine, but there persists problems in running/deploying app in android emulator or AVD!https://twitter.com/sag_tarkhala/status/369181533938003969/photo/1()!



  • Hello,
    Please be specific about the problem you are facing, is it in concern with AVD or qt's integration with AVD



  • Hi there,

    Thanks for reply,

    AVD runs fine, but when running the project on AVD the following error occurs.

    :-1: error: execvp: /home/destiny/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++: Permission denied

    is the message in issues pan in qtcreator

    13:10:49: Running steps for project untitled2...
    13:10:49: Starting: "/home/destiny/Qt5.1.0/5.1.0/android_armv7/bin/qmake" /home/destiny/Desktop/untitled2/untitled2.pro -r -spec android-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug
    sh: 1: /home/destiny/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: Permission denied
    13:10:51: The process "/home/destiny/Qt5.1.0/5.1.0/android_armv7/bin/qmake" exited normally.
    13:10:51: Starting: "/usr/bin/make"
    /home/destiny/Qt5.1.0/5.1.0/android_armv7/bin/uic ../untitled2/mainwindow.ui -o ui_mainwindow.h
    /home/destiny/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-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 -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi -W -D_REENTRANT -fPIE -DQT_NO_PRINTDIALOG -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../Qt5.1.0/5.1.0/android_armv7/mkspecs/android-g++ -I../untitled2 -I../../Qt5.1.0/5.1.0/android_armv7/include -I../../Qt5.1.0/5.1.0/android_armv7/include/QtWidgets -I../../Qt5.1.0/5.1.0/android_armv7/include/QtGui -I../../Qt5.1.0/5.1.0/android_armv7/include/QtCore -I. -I. -I../../android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/include -I../../android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -I../../android-ndk-r9/platforms/android-18/arch-arm/usr/include -I. -o main.o ../untitled2/main.cpp
    make: execvp: /home/destiny/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++: Permission denied
    make: *** [main.o] Error 127
    13:10:52: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project untitled2 (kit: Android for arm (GCC 4.8, Qt 5.1.0)-Qt 5.1.0 for Android armv7)
    When executing step 'Make'
    13:10:52: Elapsed time: 00:03.

    is content of compile output.


Log in to reply
 

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