Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29767

Android device does not recognize apk.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 11.0.3
    • Android Support
    • None
    • Android

    Description

      I am building (you can decode): build-btchat-Android_Qt_6_5_3_Clang_arm64_v8a-Debug (for release too, with signing also...);
      I am using:
      -C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot, gradle here is 8.0 (automatically set);
      as I remember the chain:
      -The Android gradle plugin wants Android min build tools 30.0.3 (not 29.0.3, I am tried for android-29);
      -android-29;
      -ndk\23.1.7779620 (I experienced some problem by trying to use 25.1.8937393, relating to begin and end.so.o and additional libraries missing).
      =here a problem relating to manifest android:allowNativeHeapPointerTagging was experienced (solved by custom manifest, trying =false, =true, and finally deleted from the manifest);
      =BUT the build apk is not installing on android 10 device tablet, and by using SAI (Split APKs Installer) app the error is: INSTALL_PARSE_FAILED_NOT_APK.
      There are some points in Internet about this, but what is going wrong?

      Here is another non-on-device recognition, but with build verification signing logs:
      BUILD SUCCESSFUL in 9m 48s
      40 actionable tasks: 40 executed
      Verifies
      Verified using v1 scheme (JAR signing): true
      Verified using v2 scheme (APK Signature Scheme v2): true
      Verified using v3 scheme (APK Signature Scheme v3): true
      Verified using v4 scheme (APK Signature Scheme v4): false
      Verified for SourceStamp: false
      Number of signers: 1
      WARNING: META-INF/com/android/build/gradle/app-metadata.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
      Android package built successfully in 675.637 ms.
      – File: C:/Programs/qt/Examples/Qt-6.5.3/widgets/painting/build-affine-Android_Qt_6_5_3_Clang_arm64_v8a-Release/android-build//build/outputs/apk/release/android-build-release-signed.apk
      15:54:36: The process "C:\Programs\qt\6.5.3\mingw_64\bin\androiddeployqt.exe" exited normally.
      15:54:37: Elapsed time: 16:36.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            stamat Bozhidar Hinkov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes