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. Android build: make: *** No rule to make target `install'. Stop.
QtWS25 Last Chance

Android build: make: *** No rule to make target `install'. Stop.

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 2.0k 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.
  • H Offline
    H Offline
    hetalik
    wrote on 17 Nov 2019, 08:11 last edited by
    #1

    I have this error when building my app for Android:

    10:57:14: The process "/opt/android-sdk/ndk/20.1.5948944/prebuilt/linux-x86_64/bin/make" exited normally.
    10:57:14: Removing directory /home/rondo/Development/mirror/build-xspec_sub-Android_for_armeabi_v7a_Clang_Qt_5_12_6_android_armv7-Debug/android-build/assets
    10:57:14: Removing directory /home/rondo/Development/mirror/build-xspec_sub-Android_for_armeabi_v7a_Clang_Qt_5_12_6_android_armv7-Debug/android-build/libs
    10:57:14: Starting: "/opt/android-sdk/ndk/20.1.5948944/prebuilt/linux-x86_64/bin/make" INSTALL_ROOT=/home/rondo/Development/mirror/build-xspec_sub-Android_for_armeabi_v7a_Clang_Qt_5_12_6_android_armv7-Debug/android-build install
    make: *** No rule to make target `install'.  Stop.
    10:57:14: The process "/opt/android-sdk/ndk/20.1.5948944/prebuilt/linux-x86_64/bin/make" exited with code 2.
    Error while building/deploying project xspec_sub (kit: Android for armeabi-v7a (Clang Qt 5.12.6 (android_armv7)))
    When executing step "Copy application data"
    10:57:14: Elapsed time: 00:14.
    

    Running it manually works just fine:

    [/home/rondo/Development/mirror/build-xspec_sub-Android_for_armeabi_v7a_Clang_Qt_5_12_6_android_armv7-Debug/xspec] 
    "/opt/android-sdk/ndk/20.1.5948944/prebuilt/linux-x86_64/bin/make" INSTALL_ROOT=/home/rondo/Development/mirror/build-xspec_sub-Android_for_armeabi_v7a_Clang_Qt_5_12_6_android_armv7-Debug/android-build install
    /opt/qt/pre-built/5.12.6/android_armv7/bin/qmake -install qinstall -exe libxspec.so /home/rondo/Development/mirror/build-xspec_sub-Android_for_armeabi_v7a_Clang_Qt_5_12_6_android_armv7-Debug/android-build/libs/armeabi-v7a/libxspec.so
    

    Adding a custom "make" seems to run, but then "android deploy" step does not find the binary.

    What's the problem here?

    Project configuration

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hetalik
      wrote on 17 Nov 2019, 08:22 last edited by
      #2

      Oh, it seems I needed to build the parent project first.
      Not only the subproject. My mistake :)

      K 1 Reply Last reply 17 Nov 2019, 09:58
      0
      • H hetalik
        17 Nov 2019, 08:22

        Oh, it seems I needed to build the parent project first.
        Not only the subproject. My mistake :)

        K Offline
        K Offline
        koahnig
        wrote on 17 Nov 2019, 09:58 last edited by koahnig
        #3

        @hetalik

        Good to read that your problem has been solved.

        Please mark post as solved then.

        [edit:koahnig] Not sure if there is an issue with the forum. Possibly it is already marked as solved, but it is clearly shownb as unsolved for me. However, the entry under "Topic Tools" would allow only "Mark as Unsolved".

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

        1 Reply Last reply
        0

        2/3

        17 Nov 2019, 08:22

        • Login

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