GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-11-05T14:01:57.000+0000 |
Affected Version/s | Release 1.7.1 |
Fix Version/s | Sprint 2011-32, Release 1.7.3, Release 1.8.0 |
Components | Android |
Labels | n/a |
Reporter | Jeff English |
Assignee | Bill Dawson |
Created | 2011-07-20T19:02:33.000+0000 |
Updated | 2014-06-19T12:46:13.000+0000 |
Module resources are not copied to the application resources when the module is located in the system folder.
This can be seen with the Android BarCode module installed in the system folder.
Occurs during the build process. The generated R.java file does not have entries for any of the resources because they were not copied.
Use this project (in the attached zip file) for testing. You will also need the barcode module, which I can send to you via e-mail when you ask.
Testing: * Put the barcode module zip file in the top-level system titanium folder (
/Library/Application Support/Titanium
) on OSX. * Unzip that file in place. It will result in /Library/Application Support/Titanium/modules/android/ti.barcode being created. * Unzip the attached project (in the attached zip file). * Build/Run that project. * After it's done building, open the R.java file down inbuild/android/gen/com/billdawson/timob4739
. It should have a bunch of entries in it, well over 200 lines of code.Pull request ready: https://github.com/appcelerator/titanium_mobile/pull/356
Tested with Win7 Linux 10.04 and Mac OS X 10.6.8 with 1.8.0.v20110914092150 R.java file has over 200 lines
reopening for 1.7.X merge
Merged to 1_7_X branch
Verified fix in 1.7.3.v20110928185013 with Titanium Studio build: 1.0.4.201108101535 and a Nexus One 2.2.2. R.java was 242 lines (including on blank line at the end of the file).
Was reopened for merge, verified for 1.7.3 and 1.8.0
Standardizing summary and labels.