Android application doesn't work when Gradle is used



  • In latest QtCreator 4.0 if I choose "Use Gradle" in Android build option, the resulting application won't work. I get only this error during compiling:

    Packaging error: Command "C:/android-sdk-windows/platform-tools/adb.exe -s emulator-5554 pull /system/bin/app_process32 C:/QtProjects/build-Muzika-Android--Release/app_process" failed.Kód ukončení: 1
    

    In the android emulation or on my phone I get an error message when trying to execute the program: "Your application encountered fatal error and cannot continue".

    If I don't use Gradle, my app works fine. What could be the problem?



  • I don't know why, but sometimes appears to me this problem and the solution for me is open the task manager and kill all the adb.exe. Normally when this happens there are more than one adb.exe.


Log in to reply
 

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