Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem in deployment on Android
Qt 6.11 is out! See what's new in the release blog

Problem in deployment on Android

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sag_tarkhala
    wrote on last edited by
    #1

    followed all on http://qt-project.org/doc/qt-5.1/qtdoc/android-support.html
    now problem is how to deploy it on AVD?
    !http://https://twitter.com/sag_tarkhala/status/369181533938003969/photo/1(screen shot on running)!

    please help

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shadabk92
      wrote on last edited by
      #2

      Hello,
      Can you please elaborate your query so as to what is your problem concerned to?
      What is the error you are facing?
      If you cannot explain in words,atleast upload a screenshot of the error, so it would be easier to analyse the problem.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sag_tarkhala
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved