{ "id": "62612", "key": "TIMOB-1980", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:07:08.000+0000", "created": "2011-04-15T03:07:07.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "ant", "build" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:18:01.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Created an android SDK module using the titanium.py create\ncommand. Had to create the module under MacOS b/c I got an python\nexception under win32 creating it (will make a ticket for that most\nlikely as well...something about %1 not being valid on a process\nfork operation). I then went into .classpath and build.properties\nof the module and changed the paths over to the equivalent win32\npaths.

\n

I then put ant on my win32 box, cd'ed over to the module's\ndirectory, and built it. titanium.py creates a build.xml file with\na line like:

\n
\n<pathelement path=\"${android.platform}/android.jar\" />\n
\n

However, build.properties set android.platform to the base\nandroid SDK directory, something like:

\n
\nandroid.platform = C:\\progra~1\\android-sdk-windows\n
\n

Thus the build fails as the android.jar file is not in that base\ndirectory. Are we supposed to copy it there manually, or is this a\nbug? What .jar should we use, the newest one for Froyo (android-8)?\nOr, should the script automatically find the newest one and adjust\nthe default build dir to something like:

\n
\nandroid.platform = C:\\\\progra~1\\\\android-sdk-windows\\\\platforms\\\\android-8\n
\n

The IOS module SDK dev guide PDF is real nice and covered a lot\nof my questions about module development, but obviously doesn't\ncover the android module building and the differences between the\ntwo.

{html}", "attachment": [], "flagged": false, "summary": "android SDK module build fails on win32", "creator": { "name": "robby", "key": "robby", "displayName": "Robby", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "robby", "key": "robby", "displayName": "Robby", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127148", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Robby,

\n

The ticket system is for confirmed bugs, please use the Q&A\nor Helpdesk for determining if we need to add a LH Ticket. You'll\nalso want to get onto IRC during irc.freenode.net #titanium_dev\nthat's where we discuss SDK issues.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:07.000+0000", "updated": "2011-04-15T03:07:07.000+0000" }, { "id": "127149", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

No followup on this in the ticket, Don's comment indicates that\nit should be marked invalid (HD request, not bug).

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:08.000+0000", "updated": "2011-04-15T03:07:08.000+0000" }, { "id": "410972", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:18:01.000+0000", "updated": "2017-03-09T23:18:01.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }