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
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 -
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
-
Yukoh
I've updated my previous answer.
Cheers
-
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.
-
Yukoh
Would you please pastebin everything that Titanium Developer outputs to the command line. Also, run adb -e logcat and pastebin the results.
-
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.
-
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.
-
I have exactly the same issue here. And tried all the suggested solutions with no success.
Greetings.