Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2733] Android: Getting Error at Rebuilding after changing tiapp.xml.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-19T01:25:47.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, Tooling
Labelsandroidbuild, ay-verified, cb-verified, core
ReporterRahul Jaiswal
AssigneeChris Barber
Created2011-04-15T03:28:04.000+0000
Updated2013-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

Comments

  1. Allen Yeung 2013-10-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/4781
  2. Samuel Dowse 2013-11-06

    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.

JSON Source