Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem when deploying app into android device
Qt 6.11 is out! See what's new in the release blog

Problem when deploying app into android device

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.1k 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.
  • M Offline
    M Offline
    md612
    wrote on last edited by
    #1

    I encountered a problem when I click 'Build' button for the android project. The error message showed that ":-1: error: Cannot run target compiler 'C:\Android\android-ndk-r16b-windows-x86_64\android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++'. Maybe you forgot to setup the environment?"

    When I click 'Run' to the project, the error message showed that "Cannot find the androiddeploy Json file.
    Error while building/deploying project PhotoViewer (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.3 for Android armv7))
    When executing step "Deploy to Android device"".

    I have spent a long time on fixing these error, but cannot find any solutions. Please help me.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Leonardo
      wrote on last edited by
      #2

      You should use the NDK version 10e. That's the recommended one.

      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