Titanium Community Questions & Answer Archive

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

1.5 build errors

When updating my mobile project from titanium v1.4 to 1.5 (CI build), it gives me the following errors:

[INFO] Compiling Javascript Resources …
[ERROR] C:\Navtrak\Mobile\Titanium\Navtrak\build\android\gen\com\navtrak\navtrak\NavtrakApplication.java:31: package ti.modules.titanium.xml does not exist
[ERROR] modules.add(new ti.modules.titanium.xml.XMLModule(context));
[ERROR] ^
[ERROR] C:\Navtrak\Mobile\Titanium\Navtrak\build\android\gen\com\navtrak\navtrak\NavtrakApplication.java:33: package ti.modules.titanium.map does not exist
[ERROR] modules.add(new ti.modules.titanium.map.MapModule(context));
[ERROR] ^
[ERROR] C:\Navtrak\Mobile\Titanium\Navtrak\build\android\gen\com\navtrak\navtrak\NavtrakApplication.java:35: package ti.modules.titanium.network does not exist
[ERROR] modules.add(new ti.modules.titanium.network.NetworkModule(context));
[ERROR] ^
[ERROR] C:\Navtrak\Mobile\Titanium\Navtrak\build\android\gen\com\navtrak\navtrak\NavtrakApplication.java:37: package ti.modules.titanium.platform does not exist
[ERROR] modules.add(new ti.modules.titanium.platform.PlatformModule(context));
[ERROR] ^
[ERROR] 4 errors

Any ideas why these modules would be missing and how I get them back?

— asked December 6th 2010 by Justin Toth
  • 1.5
0 Comments

1 Answer

  • Accepted Answer

    I'm getting the same thing, and I'm really excited about all the fixes for android in 1.5.

    Not sure of your situation, but on Windows, I simply copied the 1.5 folder into the Program Data/Titatanium/etc (can't remember, not at that computer right now) and then changed the Mobile SDK version for my project. What I haven't tried is creating a whole new app and copying the resources in. I'll try that when I get home, but let me know if that works for you.

    — answered December 6th 2010 by Nate Allen
    permalink
    1 Comment
    • Copying the files over and changing the project sdk version wasn't enough for me. I ended up having to close/reopen titanium 5 times, delete all of the files out of my build/android folder 10 times, and spin around in my herman miller 20 times before it started working.

      — commented December 6th 2010 by Justin Toth
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.