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. Qt & Android: even if Release target selected apk name contains 'debug'

Qt & Android: even if Release target selected apk name contains 'debug'

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 3.9k Views 1 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.
  • Z Offline
    Z Offline
    zlutor
    wrote on last edited by
    #1

    Is it normal that apk name contains 'debug' even is release target was selected (Qt 5.1, latest release SDK)?
    How to enforce 'real' release build if not?

    BTW. how can I generate apk file without having real android device attached? If no device attached Creator just 'hangs up' - white screen, no response and no apk is generated...

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zlutor
      wrote on last edited by
      #2

      I've checked the buil log and I think it sill generates debug codce regardless selected build target is release...

      "[echo] Building Libraries with 'debug'..."

      Any Idea?

      @-build-setup:
      [getbuildtools] Using latest Build Tools: 17.0.0
      [echo] Resolving Build Target for iQSliderPro...
      [gettarget] Project Target: Android 2.3.3
      [gettarget] API level: 10
      [gettarget] WARNING: No minSdkVersion value set. Application will install on all Android versions.
      [echo] ----------
      [echo] Creating output directories if needed...
      [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\bin
      [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\bin\res
      [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\gen
      [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\bin\classes
      [mkdir] Created dir: F:\Users\zlutor\Qt_Android\Qt.5.1\experimental\iqchallengesliderpro\android\bin\dexedLibs
      [echo] ----------
      [echo] Resolving Dependencies for iQSliderPro...
      [dependency] Ordered libraries:
      [dependency]
      [dependency] ------------------
      [dependency] API<=15: Adding annotations.jar to the classpath.
      [echo] ----------
      [echo] Building Libraries with 'debug'...
      [subant] No sub-builds to iterate on

      -code-gen:
      [mergemanifest] Merging AndroidManifest files into one.
      [mergemanifest] Manifest merger disabled. Using project manifest only.
      [echo] Handling aidl files...
      [aidl] Found 2 AIDL files.
      [aidl] Compiling 2 AIDL files.
      [echo] ----------
      [echo] Handling RenderScript files...
      [renderscript] No RenderScript files to compile.
      [echo] ----------
      [echo] Handling Resources...
      [aapt] Generating resource IDs...
      [echo] ----------
      [echo] Handling BuildConfig class...
      [buildconfig] Generating BuildConfig class.@

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Moster
        wrote on last edited by
        #3

        It might just be a bug. I mean, this is still a preview of the android support.
        You might want to try qt 5.1.1, but I doubt they fixed that yet
        http://download.qt-project.org/snapshots/qt/5.1/5.1.1-rc1/backups/2013-07-17-81/

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zlutor
          wrote on last edited by
          #4

          any idea who to contact then?
          Some bugzilla link?

          I'm sorry for newbie questions but I've just started my Qt&Android jurney...

          1 Reply Last reply
          0
          • F Offline
            F Offline
            flaviomarcio
            wrote on last edited by
            #5

            This happened to me out realese you need to include in your project keystore.

            Flavio Portela

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              zlutor
              wrote on last edited by
              #6

              thanks, i will give it a try.

              I think it is the way how to get signing key: http://developer.android.com/tools/publishing/app-signing.html

              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