Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-141258

Apk not debugable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.3
    • None
    • Android
    • 2025wk44s3QtforAndroid

      APK builds successfully.

      On adjusting build.gradle, *.so file with symbols is contained in APK:

          packagingOptions {
              doNotStrip '**{}/*{}.so' # it's asteriskasteriskslashasteriskdotso that Jira cannot handle (and not asterix )
          }
          __    
          buildFeatures {
              viewBinding true
          } 

      Breakpoint is set. Debugger starts app (smartphone S10). App doesn't stop at the breakpoint. APK is debugable in AndroidStudio after adjusting path to *.so file with debug symbols (same file as packed into APK when build.gradle changed as shown). App output is printed to "Application Output".

        1. app.tar.bz2
          11.63 MB
          Torsten Wierschin
        2. Screenshot 2025-10-20 at 11-40-30 Screenshot from 2025-10-20 11-40-10.png (PNG Image 3840 × 1080 pixels).png
          107 kB
          Torsten Wierschin
        3. Screenshot 2025-10-20 at 11-41-36 Screenshot from 2025-10-20 11-41-05.png (PNG Image 3840 × 1080 pixels).png
          180 kB
          Torsten Wierschin
        4. Screenshot 2025-10-20 at 11-41-47 Screenshot from 2025-10-20 11-40-56.png (PNG Image 3840 × 1080 pixels).png
          50 kB
          Torsten Wierschin
        5. compile_output.txt
          13 kB
          Torsten Wierschin
        6. readelf.txt
          66 kB
          Torsten Wierschin
        7. debugger_output.txt
          6 kB
          Torsten Wierschin
        8. image-2025-10-21-08-33-11-067.png
          115 kB
          Rami Potinkara
        9. Screenshot 2025-10-21 at 08-57-43 Screenshot from 2025-10-21 08-57-20.png (PNG Image 3840 × 1080 pixels).png
          173 kB
          Torsten Wierschin
        10. image-2025-10-21-10-20-32-045.png
          45 kB
          Rami Potinkara
        11. Screenshot 2025-10-21 at 09-47-28 Screenshot from 2025-10-21 09-46-36.png (PNG Image 3840 × 1080 pixels).png
          104 kB
          Torsten Wierschin
        12. Screenshot 2025-10-21 at 10-05-42 Screenshot from 2025-10-21 10-05-09.png (PNG Image 3840 × 1080 pixels).png
          366 kB
          Torsten Wierschin
        13. Screenshot 2025-10-21 at 10-06-43 Screenshot from 2025-10-21 10-04-00.png (PNG Image 3840 × 1080 pixels).png
          176 kB
          Torsten Wierschin
        14. Screenshot 2025-10-21 at 10-05-42 Screenshot from 2025-10-21 10-05-09.png (PNG Image 3840 × 1080 pixels)-1.png
          366 kB
          Torsten Wierschin
        15. Screenshot 2025-10-21 at 10-06-43 Screenshot from 2025-10-21 10-04-00.png (PNG Image 3840 × 1080 pixels)-1.png
          176 kB
          Torsten Wierschin
        16. app_output.txt
          5 kB
          Torsten Wierschin
        17. app_output-1.txt
          5 kB
          Torsten Wierschin
        18. qtcreator-18-armv7-debugging.png
          646 kB
          Cristian Adam
        19. qtcreator-18-armv7-debugging.log
          110 kB
          Cristian Adam
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtandroidteam Qt Android Team
            torsten_w Torsten Wierschin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes