{ "id": "124621", "key": "TIMOB-16171", "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": "15922", "description": "2014 Sprint 03", "name": "2014 Sprint 03", "archived": true, "released": true, "releaseDate": "2014-02-14" }, { "id": "15924", "description": "2014 Sprint 03 Core", "name": "2014 Sprint 03 Core", "archived": true, "released": true, "releaseDate": "2014-02-14" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-02-03T18:01:19.000+0000", "created": "2014-01-09T20:56:48.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-03-25T10:35:34.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": "Titanium SDK is installed not in default location, it is in D:\\SDKs\\Titanium\r\nThis path is set in Studio: Window -> Preferences -> Studio -> Platforms\r\nTrying to build Kitchen Sink sample containing facebook module I get error in Studio:\r\n\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n\r\nIt says nothing, but building app in command line I get error:\r\n\r\n[ERROR] Could not find all required Titanium Modules:\r\n[ERROR] id: facebook version: latest platform: android deploy-type: development\r\n\r\nWhen I copied Titanium SDK to (default) path:\r\n C:\\Users\\Janusz\\AppData\\Roaming\\Titanium\r\nbuild was successful. I doesn't change the path in Studio, I leave it\r\n D:\\SDKs\\Titanium\r\n\r\nDuring building app Titanium uses module and other things from D:\\SDKs\\Titanium, but in default location SDK must exist to start building - I thing during checking if Titanium has all needed components to build.\r\n", "attachment": [], "flagged": false, "summary": "Android: Build error for applications with a module if SDK is installed in non default location", "creator": { "name": "janusz.hatala", "key": "janusz.hatala", "displayName": "Janusz Hatala", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "janusz.hatala", "key": "janusz.hatala", "displayName": "Janusz Hatala", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 7 (and Windows 8),\r\nTitanium Studio build: 3.2.0.201312191547,\r\nTitanium SDK 3.2.0.GA,\r\nCLI 3.3.0\r\nAndroid SDK from API 3 to 19", "comment": { "comments": [ { "id": "287531", "author": { "name": "pdaigle", "key": "pdaigle", "displayName": "Patrick Daigle", "active": true, "timeZone": "America/Montreal" }, "body": "I have the same problem. This definitely need to be addressed.\n\nIn the meantime, you can symlink the default directory to your custom location.\nThis works great on OS X or Unix-like OS (using ln -s), but I believe you can create a NTFS junction (which is basically the same thing as a unix symlink) with mklink on Windows.\n\nSee this link for more info: http://technet.microsoft.com/en-us/library/cc753194.aspx\nThere's also other type of link. You can try those as well.", "updateAuthor": { "name": "pdaigle", "key": "pdaigle", "displayName": "Patrick Daigle", "active": true, "timeZone": "America/Montreal" }, "created": "2014-01-09T22:52:28.000+0000", "updated": "2014-01-09T22:52:28.000+0000" }, { "id": "287673", "author": { "name": "janusz.hatala", "key": "janusz.hatala", "displayName": "Janusz Hatala", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the workaround, it works fine. In my case I made symlink concretely using this command:\n\nmklink /d C:\\Users\\Janusz\\AppData\\Roaming\\Titanium\\ D:\\SDKs\\Titanium\n\nwhich SDK physically is in D:\\SDKs\\Titanium and the link is in C:\\...\\", "updateAuthor": { "name": "janusz.hatala", "key": "janusz.hatala", "displayName": "Janusz Hatala", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-10T18:11:43.000+0000", "updated": "2014-01-10T18:11:43.000+0000" }, { "id": "287844", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] [~ingo] Moving this ticket to engineering for further diagnosis as the steps are pretty clear and multiple people are running into this issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-12T03:49:53.000+0000", "updated": "2014-01-12T19:11:52.000+0000" }, { "id": "290746", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5304\n3.2.x. pull request: https://github.com/appcelerator/titanium_mobile/pull/5305\n\nTo test:\n1. Create an Android app\n2. Enable a module such as ti.cloudpush\n3. Locate the folder where the Titanium SDKs are installed (C:\\ProgramData\\Titanium or ~/.titanium or ~/Library/Application Support/Titanium)\n4. Move the Titanium folder to the Desktop\n5. Run \"ti sdk\" to confirm no SDKs found\n6. Run \"ti config paths.sdks /path/to/Desktop/Titanium\"\n7. Build the app\n8. Should find the ti.cloudpush module in /path/to/Desktop/Titanium/modules/android/ti.cloudpush and build should work", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-31T23:35:20.000+0000", "updated": "2014-01-31T23:35:20.000+0000" }, { "id": "298546", "author": { "name": "schowbey", "key": "schowbey", "displayName": "Shreya Chowbey", "active": true, "timeZone": "America/Los_Angeles" }, "body": "verified as fixed for,\r\nWindows 7, 8.1\r\nAppcelerator Studio, build: 3.2.3.201403190645\r\nSDK :3.2.3.v20140324164913\r\nacs: 1.0.14\r\nalloy: 1.3.1\r\ntitanium: 3.2.1\r\ncode processor: 1.3.1\r\n\r\nAlso I observed that the new Titanium path is not auto picked by Studio and so no Titanium is detected and Studio prompts to install the Titanium GA version. We have to manually reset it through Studio>> Windows>> Preferences>> Platforms.", "updateAuthor": { "name": "schowbey", "key": "schowbey", "displayName": "Shreya Chowbey", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-25T10:35:34.000+0000", "updated": "2014-03-25T10:35:34.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }