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: Problem with signature
Forum Updated to NodeBB v4.3 + New Features

Android: Problem with signature

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 1.1k 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

    If I disconnect my phone and connect it again after some time, I get this error when trying to run my APK on it:

    Failed to install C:/QtProjects/myApp/android-build//build/outputs/apk/android-build-debug.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1287059771.tmp/base.apk using APK Signature Scheme v2: SHA-256 digest of contents did not verify]
    Installing to device failed!
    10:24:10: The process "C:/Qt/5.9.1/android_armv7/bin/androiddeployqt.exe" exited with code 16.
    

    It is quite clear that the problem is that QtCreator tries to install a debug package but I have a signed release installed on my phone. The signed release APK is not created.

    Uninstalling the program on my phone solves the problem. But I always loose my data this way and it is just a workaround, not a solution. Why is this happening? How can I solve it?

    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