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 application doesn't work when Gradle is used

Android application doesn't work when Gradle is used

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 725 Views 2 Watching
  • 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.
  • V Offline
    V Offline
    vlada
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lqsa
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

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