Please nominate your Qt Champions for 2021!

[install_target] error deploying on Android

  • Hey everybody,

    I'm new to Qt and I created a program I wanted to deploy on Android.
    I installed the SDK, NDK, JDK and Qt 5.2.0 for Android.
    My program runs just fine if I run it on Windows, and for Android it seems to compile,
    but when it wants to deploy the program to my Phone (Xperia U, st25i) it just doesn't work.
    The same problem if I try to deploy it to an AVD.
    I activated the SDK USB driver and Qt does detect it.
    I also enabled USB debugging. I have Android 4.0.4.
    I searched a lot on Google, but nothing on my problem.
    When it tries to deploy it gives the error:
    :-1: error: [install_target] Error 1
    I really don't know what to do.
    Please help me.

  • Are you setup your target device for development on Android?

  • Sorry for my late response.
    Yes, I did setup my computer for Android development,
    the computer does detect my phone and compiles my files to a .so file,
    But when it tries to deploy application to my phone,
    It gives an error. I also searched for settings that might do the trick,
    But I couldn't find anything.

Log in to reply