Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18701

KitchenSink: Android: When building, the build fails when packaging the application

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.0.0, Release 4.1.0
    • Fix Version/s: Release 4.0.0
    • Component/s: Android
    • Labels:
    • Environment:

      Mac OSX 10.10.2
      Appcelerator Studio, build: 4.0.0.201502171827
      Titanium SDK build: 4.0.0.v2015031209501, 4.1.0.v20150312131218
      Titanium CLI, build: 3.5.0-dev
      Alloy: 1.6.0-alpha
      Android SDK Build Tools 22

    • Sprint:
      2015 Sprint 07 SDK

      Description

      Description

      When attempting to build KitchenSink from github or Studio the build fails with errors such as

      /var/folders/1b/xhytcm6170x9n3879xbsp9r00000gn/T/115212-21731-122iqv3/res/drawable-mdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
      

      This is because in the tiapp.xml the target Android SDK is set to 14, due to TIMOB-17357 the target Android SDK should be set to 21 which will fix this problem.

      Steps To Reproduce

      1. In Studio import KitchenSink from the samples
      2. Build to device
      3. In the tiapp.xml change <uses-sdk android:targetSdkVersion="14"/> to <uses-sdk android:targetSdkVersion="21"/>
      4. Build to device again

      Actual Result

      2. The build will fail
      4. The build will pass

      Expected Result

      The build should pass

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              eharris Ewan Harris
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-19804
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code