[TIMOB-2733] Android: Getting Error at Rebuilding after changing tiapp.xml.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-19T01:25:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0 |
Components | Android, Tooling |
Labels | androidbuild, ay-verified, cb-verified, core |
Reporter | Rahul Jaiswal |
Assignee | Chris Barber |
Created | 2011-04-15T03:28:04.000+0000 |
Updated | 2013-11-06T19:09:47.000+0000 |
Description
Hi, I am developing Android application using Titanium. Earlier i was using
Titanium.Platform.displayCaps.platformHeight
and i tried solution provided here:
http://developer.appcelerator.com/question/91631/titaniumplatformdisplaycapsplatformheight-runtime-error
Now i am getting following error
[INFO] Detected tiapp.xml change, forcing full re-build...
[ERROR] Error in compiler. <type 'exceptions.IOError'>,
[Errno 13] Permission denied: 'D:\\Test\\TestApp\\build\\android\\bin\\assets\\Resources\\Thumbs.db';
Traceback
(most recent call last):
File "C:\Documents and Settings\All Users\Application Data\Titanium\mobilesdk\win32\1.5.1\android\builder.py", line 1548, in <module>
s.build_and_run(False,avd_id)
File "C:\Documents and Settings\All Users\Application Data\Titanium\mobilesdk\win32\1.5.1\android\builder.py", line 1296, in build_and_run
self.copy_project_resources()
File "C:\Documents and Settings\All Users\Application Data\Titanium\mobilesdk\win32\1.5.1\android\builder.py", line 549, in copy_project_resources
shutil.copy(path, dest)
File "C:\Documents and Settings\All Users\Application Data\Titanium\modules\win32\python\1.0.0\lib\shutil.py", line 85, in copy
copyfile(src, dst)
File "C:\Documents and Settings\All Users\Application Data\Titanium\modules\win32\python\1.0.0\lib\shutil.py", line 52, in copyfile
fdst = open(dst, 'wb')
IOError: [Errno 13] Permission denied: 'D:\\Test\\TestApp\\build\\android\\bin\\assets\\Resources\\Thumbs.db'
Suggest Something ASAP.
Regards, Rahul
PR: https://github.com/appcelerator/titanium_mobile/pull/4781
Verified fixed using: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311060354 Titanium SDK, build: 3.2.0.v20131105162443 Alloy: 1.3.0 CLI: 3.2.0 Rebuilding after changing tiapp.xml will succeed and run as expected. Closing.