Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18701] KitchenSink: Android: When building, the build fails when packaging the application

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-03-20T18:21:05.000+0000
Affected Version/sRelease 4.0.0, Release 4.1.0
Fix Version/sRelease 4.0.0
ComponentsAndroid
Labelsqe-4.0.0
ReporterEwan Harris
AssigneeGary Mathews
Created2015-03-13T00:22:52.000+0000
Updated2015-03-25T17:08:49.000+0000

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 to 4. Build to device again

Actual Result

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

Expected Result

The build should pass

Comments

  1. Ewan Harris 2015-03-13

    PR: https://github.com/appcelerator/KitchenSink/pull/66
  2. Gary Mathews 2015-03-20

    Fixed in PR-67 : https://github.com/appcelerator/KitchenSink/pull/67/files#diff-479689a32e4d836b0f20b5f6ed96b85aR103
  3. Ewan Harris 2015-03-25

    Verified fix using: Mac OSX 10.10.2 Titanium SDK build: 4.0.0.v20150323131014 Titanium CLI, build: 4.0.0-alpha Alloy: 1.6.0-alpha Android SDK Build Tools 22 Note 2 (4.3) KitchenSink (master) When using KitchenSink from master it now builds without the issues seen before. Closing ticket.

JSON Source