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. llvm-strip does not exist
QtWS25 Last Chance

llvm-strip does not exist

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 2.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.
  • M Offline
    M Offline
    MajidKamali
    wrote on 4 Jul 2019, 05:20 last edited by
    #1

    Hi.
    I want to develop android apps on arch linux.
    I installed necassary packages:
    Qt 5.12.4 installed via online installer
    openjdk-8 installed via pacman
    android-sdk 26.1.1 installed via yay (AUR)
    android-ndk 17.2 installed via yay (AUR) (android-ndk-r17c)
    android-sdk-build-tools 28.0.3 installed via yay (AUR)
    android-sdk-platform-tool 29.0 installed via yay (AUR)

    Every thing is setup correctly and Qt creator automatically finds compilers and kits for various Qt versions (gcc x64, android clang x86, android clang armv7, android clang aarch64).

    But when I try to compile an android program (e.g animated tiles example), I get following error:
    Command does not exist: /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip
    09:39:10: The process "/home/majid/Documents/Qt/5.12.4/android_armv7/bin/androiddeployqt" exited with code 9. Error while building/deploying project animatedtiles (kit: Android for armeabi-v7a (Clang Qt 5.12.4 for Android ARMv7)) When executing step "Build Android APK"
    There is not llvm-strip in /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/
    How can I resolve the problem?
    Thanks :)

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Wiru
      wrote on 4 Jul 2019, 06:01 last edited by
      #2

      For Qt 5.12.4 you need android NDK 19, after that it should work.

      1 Reply Last reply
      4
      • M Offline
        M Offline
        MajidKamali
        wrote on 4 Jul 2019, 07:53 last edited by
        #3

        Solved by installing android-ndk-r19 manually.
        It does not exist in arch linux repos.

        1 Reply Last reply
        3

        1/3

        4 Jul 2019, 05:20

        • Login

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