Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15952] CLI: subsequent build where target is changed causes error

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-12-11T02:36:28.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 25, 2013 Sprint 25 Core, Release 3.2.0, Release 3.3.0
ComponentsAndroid, CLI
Labelsqe-3.2.0, qe-closed-3.2.0, qe-testadded
ReporterSamuel Dowse
AssigneeChris Barber
Created2013-12-11T01:32:04.000+0000
Updated2014-06-19T12:43:51.000+0000

Description

Description

Building an Android project to device will successfully install, but building to another device or emulator without cleaning will throw the error:
[ERROR] Failed to package application:
[ERROR]
[ERROR] C:\Users\tester\Documents\Titanium_Studio_Workspace\android\build\android\res\values\theme.xml:4: error: Error: No resource found that matches the given name (at 'android:windowBackground' with value '@drawable/background').

Steps To Reproduce

1. Create an Android project 2. Build the Android project to device 3. Without cleaning, build the project to emulator

Expected Result

Application to run on device Application to run on emulator

Actual Result

Application runs on device Application failes to run on emulator

Comments

  1. Chris Barber 2013-12-11

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5116 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5117
  2. Samuel Dowse 2013-12-11

    Verified fixed on: Windows 7 CLI: 3.2.0-cr Titanium SDK, build: 3.2.0.v20131210191510 Android Device: Nexus 5 (4.4) Android Emulator: 2.3.3 (API 10) Application builds and runs on device. Application builds and runs on emulator without having to clean the project. Closing.

JSON Source