Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Build Android app stops at '[INFO] Copying project resources..'

I'm having a problem with building Android app projects.<br>
Titanium Developer stops building at 'Copying project resources..' and it doesn't go any further.<br>Everything was working fine before this problem suddenly occurred.<br>
I tried reinstalling Titanium Developer and Android SDK but it didn't make any change.

OS Windows XP SP2<br>
Titanium Developer 1.2.1<br>Titanium SDK 1.4<br>
Android SDK APIs 1.6

— asked November 25th 2010 by Yukoh Ishii
  • build
  • copying
  • project
  • resources
0 Comments

8 Answers

  • Accepted Answer

    Just had this problem in Windows 7 64-bit and tried all suggestions but the thing that fixed my problem was to remove the following folders:

    C:\Users\username\.android

    C:\Users\username\.deltafy

    C:\Users\username\.titanium

    Not really sure if you need to remove all off them but Titanium created them on next run anyway.

    Edit:
    On XP the paths should be C:\documents and settings\username\ and so on I guess

    — answered January 25th 2011 by Robert Andersson
    permalink
    1 Comment
    • Robert

      Finally, I was able to build my app on TiDev by your suggestion. I can restart developing apps using TiDev now! Many thanks!!!

      — commented January 26th 2011 by Yukoh Ishii
  • Updated…

    Yukoh

    Can you create and boot a new, unmodified, project? Please confirm this.

    Delete everything in the following locations:

    • /path/to/$PROJECT/build/android/assets
    • /path/to/$PROJECT/build/android/bin
    • /path/to/$PROJECT/build/android/gen
    • /path/to/$PROJECT/build/android/lib
    • /path/to/$PROJECT/build/android/res
    • /path/to/$PROJECT/build/android/src
    • /path/to/$PROJECT/build/iphone/assets
    • /path/to/$PROJECT/build/iphone/bin
    • /path/to/$PROJECT/build/iphone/gen
    • /path/to/$PROJECT/build/iphone/lib
    • /path/to/$PROJECT/build/iphone/res
    • /path/to/$PROJECT/build/iphone/src

    Then start TiDev and boot your app.

    Try this and let us know what happens.

    Cheers

    — answered November 25th 2010 by Paul Dowsett
    permalink
    1 Comment
    • Thanks.<br>
      It's possible to create a new project but booting stops at the same point. Booting after delete files gives the same result as well…

      — commented November 26th 2010 by Yukoh Ishii
  • Yukoh

    I've updated my previous answer.

    Cheers

    — answered November 25th 2010 by Paul Dowsett
    permalink
    0 Comments
  • I've found out what has been causing this problem.
    It seems making a copy of

    /path/to/$PROJECT/Resources/app.js

    in the same directory prevents the project from booting up.
    I've found the cause but no solution.

    Any help would be appreciated.

    — answered November 30th 2010 by Yukoh Ishii
    permalink
    2 Comments
    • Yukoh

      I don't believe this is likely to be the issue, because you have already confirmed that you have created a brand new, unmodified project (hence, no app.js) but it still fails at the same point.

      — commented November 30th 2010 by Paul Dowsett
    • I've already confirmed this on another computer.
      The funny thing is that this affects other projects no matter if they are brand new or not.

      — commented December 2nd 2010 by Yukoh Ishii
  • Yukoh

    Would you please pastebin everything that Titanium Developer outputs to the command line. Also, run adb -e logcat and pastebin the results.

    — answered November 30th 2010 by Paul Dowsett
    permalink
    1 Comment
    • Here is the outputs of TiDev

      http://pastebin.com/08rFB56A

      and running results of logcat

      http://pastebin.com/Bb2k36Et

      Thank you.

      — commented December 2nd 2010 by Yukoh Ishii
  • I've found out what has been causing this problem.
    It seems making a copy of

    /path/to/$PROJECT/Resources/app.js

    in the same directory prevents the project from booting up.
    I've found the cause but no solution.

    Any help would be appreciated.

    — answered November 30th 2010 by Yukoh Ishii
    permalink
    0 Comments
  • You're making a copy of app.js? Why? If you want or need a backup, save it outside the project directory. In fact, you should get rid of all unused or non-essential files because everything gets packaged into the final apk making it unnecessarily larger. As others have suggested, delete the contents of the build directory and try again.

    — answered November 30th 2010 by Tim Poulsen
    permalink
    1 Comment
    • I didn't care where to place the copy because I was going to delete the project after checking few trial results. I've already tried deleting the contents under the build directory but it didn't solve the problem.

      — commented December 2nd 2010 by Yukoh Ishii
  • I have exactly the same issue here. And tried all the suggested solutions with no success.

    Greetings.

    — answered December 6th 2010 by Marcelo Fonseca
    permalink
    1 Comment
    • I made a backup copy of app.js in the same directory too, but i deleted it and the problem still remains.

      — commented December 6th 2010 by Marcelo Fonseca
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.