Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to deploy android build from qt 5.4 in macbook pro
Forum Updated to NodeBB v4.3 + New Features

How to deploy android build from qt 5.4 in macbook pro

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.5k 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.
  • I Offline
    I Offline
    ingenioussofttech
    wrote on last edited by
    #1

    Hello

    I had install qt 5.4 in my macbook pro using below link.

    http://mirrors.hust.edu.cn/qtproject/development_releases/qt/5.4/5.4.0-rc/qt-opensource-mac-x64-android-ios-5.4.0-rc.dmg

    i had configure all path of android jdk location, android sdk location, android ndk location and all path are correct.

    when i try to make build of any project( even try with android sample project given by qt) from qt creator. So after some time of build generation at last it give me this error.

    -- For more information, run this command with --verbose.
    17:11:13: The process "/Volumes/Kavita/Qt5.4.0/5.4/android_x86/bin/androiddeployqt" exited with code 14.
    Error while building/deploying project application (kit: Android for x86 (GCC 4.9, Qt 5.4.0))
    When executing step "Build Android APK"

    1. when i cant generate apk file from qt using above method. so i try to open gradle project in my android studio which gradle project folder generate by qt creator at the time of generating android build.

    so that gradle project also not run from android studio also.

    Can any body help me to solve above 2 issue who already face this type of issue in their mac and they already solved this issue.

    Thanks

    Kavita Mevada

    S 1 Reply Last reply
    0
    • I ingenioussofttech

      Hello

      I had install qt 5.4 in my macbook pro using below link.

      http://mirrors.hust.edu.cn/qtproject/development_releases/qt/5.4/5.4.0-rc/qt-opensource-mac-x64-android-ios-5.4.0-rc.dmg

      i had configure all path of android jdk location, android sdk location, android ndk location and all path are correct.

      when i try to make build of any project( even try with android sample project given by qt) from qt creator. So after some time of build generation at last it give me this error.

      -- For more information, run this command with --verbose.
      17:11:13: The process "/Volumes/Kavita/Qt5.4.0/5.4/android_x86/bin/androiddeployqt" exited with code 14.
      Error while building/deploying project application (kit: Android for x86 (GCC 4.9, Qt 5.4.0))
      When executing step "Build Android APK"

      1. when i cant generate apk file from qt using above method. so i try to open gradle project in my android studio which gradle project folder generate by qt creator at the time of generating android build.

      so that gradle project also not run from android studio also.

      Can any body help me to solve above 2 issue who already face this type of issue in their mac and they already solved this issue.

      Thanks

      Kavita Mevada

      S Offline
      S Offline
      serngawy
      wrote on last edited by
      #2

      @ingenioussofttech
      I fix this issue by changing the androidBuildToolsVersion in the gradle.properties and android-libYourApp.so-deployment-settings.json files under your App build directory. In my case it was
      (androidBuildToolsVersion=android4.4w) in gradle.properties file and (sdkBuildToolsRevision": "android4.4w") in android-libYourApp.so-deployment-settings.json, I changed to (androidBuildToolsVersion=21.1.2) and ("sdkBuildToolsRevision": "21.1.2")

      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