Errors while building the project for android



  • I'm trying to build my project for android but it errors like these:

    23:06:06: Running steps for project InstaDL...
    23:06:06: Configuration unchanged, skipping qmake step.
    23:06:06: Starting: "/usr/bin/make" 
    make: *** No rule to make target '../../../Android/android-ndk-r14b/sources/cxx-stl/gnu-libstdc++/4.9/include/type_traits', needed by 'main.o'.  Stop.
    23:06:07: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project InstaDL (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.0 for Android armv7))
    When executing step "Make"
    23:06:07: Elapsed time: 00:00.
    

    I have configured SDK, NDK and JDK successfully.
    What is the solution of this problem?


  • Moderators

    @no_ideaw Can you show your pro file?
    Also did you run qmake and rebuild your project after changing Kit to "Android for armeabi-v7a"?



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.