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
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5116 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5117
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.