{ "id": "63187", "key": "TIMOB-2555", "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": [ { "id": "11234", "name": "Release 1.6.0 M01", "archived": true, "released": true, "releaseDate": "2010-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:26.000+0000", "created": "2011-04-15T03:22:36.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:59:26.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}

Example: If you have this in tiapp.xml:

\n
\n<android xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <manifest>\n  <application android:debuggable=\"true\"/>\n </manifest>\n</android>\n
\n

... that debuggable attribute doesn't make it to\nAndroidManifest.xml. But if you add in something else under\nmanifest in tiapp.xml, it does:

\n
\n<android xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <manifest>\n  <application android:debuggable=\"true\"/>\n    <supports-screens \n            android:smallScreens=\"false\"\n            android:normalScreens=\"true\"\n            android:largeScreens=\"true\"\n            android:anyDensity=\"true\"\n        />\n\n </manifest>\n</android>\n
{html}", "attachment": [], "flagged": false, "summary": "Android: tiapp.xml changes to android->application element only work if other manifest-related entries exist", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "128756", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

To test:

\n

Create app and put this in tiapp.xml (replace the\nandroid section therein with this):

\n
\n<android xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <manifest>\n  <application android:debuggable=\"true\"/>\n </manifest>\n</android>\n
\n

Launch the app (don't worry about what the app does / looks\nlike, that's all irrelevant.)

\n

After the app has launched, open the generated file\nbuild/android/AndroidManifest.xml. Find the\n<application> node in that xml file. In the\nfailcase, you'll see android:debuggable=\"false\". When\nfixed, you'll see it as true.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:22:37.000+0000", "updated": "2011-04-15T03:22:37.000+0000" }, { "id": "128757", "author": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Bill this failed for me in 2.1 Sim [INFO] Titanium SDK version: 1.5.0 (12/10/10\n15:05 f08319c)

\n
\n<application\n    android:icon=\"@drawable/appicon\"\n    android:label=\"simple\"\n    android:name=\"SimpleApplication\"\n    android:debuggable=\"false\"\n>\n    <activity\n        android:name=\".SimpleActivity\"\n
{html}", "updateAuthor": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:37.000+0000", "updated": "2011-04-15T03:22:37.000+0000" }, { "id": "128758", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Eh? Good, you proved the fail case. Now test with master. ;) (It\nwasn't meant for 1.5.0)

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:22:37.000+0000", "updated": "2011-04-15T03:22:37.000+0000" }, { "id": "128759", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

[INFO] Titanium SDK version: 1.6.0 (01/10/11\n08:25 3452f06) sim 2.2 and 1.6

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:38.000+0000", "updated": "2011-04-15T03:22:38.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }