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
PR: https://github.com/appcelerator/KitchenSink/pull/66
Fixed in PR-67 : https://github.com/appcelerator/KitchenSink/pull/67/files#diff-479689a32e4d836b0f20b5f6ed96b85aR103
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.