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?
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.