Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem with androiddeployqt and Qt5.14.2

Problem with androiddeployqt and Qt5.14.2

Scheduled Pinned Locked Moved Solved Mobile and Embedded
androiddeployqt
3 Posts 2 Posters 1.4k Views
  • 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.
  • K Offline
    K Offline
    koahnig
    wrote on last edited by koahnig
    #1

    The applications can be used and deployed when linked to Qt 5.12.7 and previous versions.

    Warning: QML import could not be resolved in any of the import paths: Local
    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring root project 'android-build'.
    > No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    
    Total time: 5.287 secs
    Building the android package failed!
      -- For more information, run this command with --verbose.
    18:36:40: The process "C:\Qt\5.14.2\android\bin\androiddeployqt.exe" exited with code 14.
    Error while building/deploying project inQmlTimes (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.2 for Android))
    When executing step "Build Android APK"
    

    Anyone can shed some light on how to handle this issue?

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2
      1. Remove your Android template dir (if present). Backup if necessary.
      2. Regenerate templates (Qt Creator->Project->Build Android APK->Create template) and then fix your AndroidManifest.xml.
      3. Run a clean build, it should work.

      mipsel-linux-android

      If you really need mipsel... I don't think it's supported anymore in Qt 5.14.2. But you can try building Qt from source and enable this arch.

      (Z(:^

      K 1 Reply Last reply
      3
      • sierdzioS sierdzio
        1. Remove your Android template dir (if present). Backup if necessary.
        2. Regenerate templates (Qt Creator->Project->Build Android APK->Create template) and then fix your AndroidManifest.xml.
        3. Run a clean build, it should work.

        mipsel-linux-android

        If you really need mipsel... I don't think it's supported anymore in Qt 5.14.2. But you can try building Qt from source and enable this arch.

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        @sierdzio

        Great. Yes, it did the trick.

        @sierdzio said in Problem with androiddeployqt and Qt5.14.2:

        mipsel-linux-android

        If you really need mipsel... I don't think it's supported anymore in Qt 5.14.2. But you can try building Qt from source and enable this arch.

        Must a left over from versions before. It is not required.

        Vote the answer(s) that helped you to solve your issue(s)

        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