{ "id": "122872", "key": "TIMOB-15821", "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": "15711", "description": "2013 Sprint 24", "name": "2013 Sprint 24", "archived": true, "released": true, "releaseDate": "2013-11-29" }, { "id": "15713", "description": "2013 Sprint 24 Core", "name": "2013 Sprint 24 Core", "archived": true, "released": true, "releaseDate": "2013-11-29" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-26T22:47:32.000+0000", "created": "2013-11-25T15:14:22.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "SupportTeam", "module_android", "qe-testadded", "regression", "triage" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "33396", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "63519", "key": "TIMOB-2887", "fields": { "summary": "Android: Movie fails to render with \"unable to open content error\"", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33674", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "123514", "key": "TIMOB-15936", "fields": { "summary": "Android: Unable to compile APK: RangeError: Maximum call stack size exceeded", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-05-30T20:46:43.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": "It seems that for some reason the files in the Resources folder are not found anymore.\r\n\r\nThe testcase is for a sound file, but the same happens if I try to simply get a file with \r\n\r\n{code}\r\n(Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory ,'core/data_providers/phone_db.js').read().text\r\n{code}\r\n\r\n*Testcase* app.js\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'#f00'\r\n});\r\n\r\nwin.open();\r\n\r\n\r\n\r\nvar newMsgSound = Titanium.Media.createSound({\r\n\turl: '/samsung_sherbet.mp3',\r\n\tpreload: true\r\n});\r\nnewMsgSound.play();\r\n\r\n{code}\r\n\r\n\r\nresult:\r\n{code}\r\n11-25 16:09:33.319: E/TiSound(17910): (KrollRuntimeThread) [524,525] Error setting file descriptor: \r\n11-25 16:09:33.319: E/TiSound(17910): java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed\r\n11-25 16:09:33.319: E/TiSound(17910): \tat android.content.res.AssetManager.openAssetFd(Native Method)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat android.content.res.AssetManager.openFd(AssetManager.java:379)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat ti.modules.titanium.media.TiSound.initializeAndPlay(TiSound.java:100)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat ti.modules.titanium.media.TiSound.play(TiSound.java:212)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat ti.modules.titanium.media.SoundProxy.play(SoundProxy.java:151)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:159)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:289)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:185)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat android.os.Looper.loop(Looper.java:156)\r\n11-25 16:09:33.319: E/TiSound(17910): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)\r\n11-25 16:09:33.319: I/MediaPlayer(17910): setLPAflag() in\r\n11-25 16:09:33.319: I/MediaPlayer(17910): mContext is null, can't getMirrorDisplayStatus!!!\r\n11-25 16:09:33.319: I/MediaPlayer(17910): setLPAflag() out\r\n11-25 16:09:33.319: E/MediaPlayer(17910): prepareAsync called in state 1\r\n11-25 16:09:33.329: W/TiSound(17910): (KrollRuntimeThread) [7,532] Issue while initializing : \r\n11-25 16:09:33.329: W/TiSound(17910): java.lang.IllegalStateException\r\n11-25 16:09:33.329: W/TiSound(17910): \tat android.media.MediaPlayer._prepare(Native Method)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat android.media.MediaPlayer.prepare(MediaPlayer.java:1341)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat ti.modules.titanium.media.TiSound.initializeAndPlay(TiSound.java:153)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat ti.modules.titanium.media.TiSound.play(TiSound.java:212)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat ti.modules.titanium.media.SoundProxy.play(SoundProxy.java:151)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:159)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:289)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:185)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat android.os.Looper.loop(Looper.java:156)\r\n11-25 16:09:33.329: W/TiSound(17910): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Unable to access files in Resources folder", "creator": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti SDK 3.2.0.v20131117001643 and newer", "comment": { "comments": [ { "id": "281139", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Regression? Testcase works fine in 3.1.3GA. ", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-25T15:22:43.000+0000", "updated": "2013-11-25T15:22:43.000+0000" }, { "id": "281378", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "Could we prioritise this a little? It's a showstopper for us.\r\nThank you.", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-26T09:26:47.000+0000", "updated": "2013-11-26T09:26:47.000+0000" }, { "id": "281438", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T17:32:33.000+0000", "updated": "2013-11-26T17:32:33.000+0000" }, { "id": "281449", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fix version 3.3.0?\r\n", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-26T18:05:27.000+0000", "updated": "2013-11-26T18:05:27.000+0000" }, { "id": "281450", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "And merge-3.2.0 label. We're now in backport season.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T18:08:22.000+0000", "updated": "2013-11-26T18:08:22.000+0000" }, { "id": "281453", "author": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "body": "Surely this is a blocker?", "updateAuthor": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "created": "2013-11-26T18:14:31.000+0000", "updated": "2013-11-26T18:14:31.000+0000" }, { "id": "281454", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "@Ingo, what does this means? That you are working in 3.3.0 but until 3.2.0 will be released, the fix will be also back ported to 3.2.0 ?\r\n\r\nThnx", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-26T18:18:38.000+0000", "updated": "2013-11-26T18:18:38.000+0000" }, { "id": "281464", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We have branched for 3.2.X, so we will be making the fix for 3.2.0 _and_ 3.3.0", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T18:42:26.000+0000", "updated": "2013-11-26T18:42:26.000+0000" }, { "id": "281467", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "@Ingo That made me happy! :)", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-26T18:45:57.000+0000", "updated": "2013-11-26T18:45:57.000+0000" }, { "id": "281495", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since there is some confusion about our process, I'll detail it here:\n\n# Tickets are always resolved in the master branch first. As of yesterday, we created a 3.2.X branch in git, and master became 3.3.0\n# However, it is important this goes into 3.2.0. Thus, we add a merge-3.2.0 label.\n# Once we've resolved the ticket in master, it's marked \"Resolved\".\n# We then set up a backport PR against the 3.2.X branch.\n# Once the ticket is resolved in 3.2.X, we remove the merge-3.2.0 label and add the fix version of 3.2.0\n\nThis process is done to make sure the dev and QE teams know where the fix sits and can be properly tested. For developers, the key thing is to look at the fix version fields, or the labels. You'll now see a bunch of merge-3.2.0 tags (meaning it will go into 3.2.0), or merge-3.2.1 tags (meaning it will go into 3.2.1).\n", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T19:52:55.000+0000", "updated": "2013-11-26T19:52:55.000+0000" }, { "id": "281496", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you :)", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-26T19:56:31.000+0000", "updated": "2013-11-26T19:56:31.000+0000" }, { "id": "281524", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5033\n3_2_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5034", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-26T22:05:49.000+0000", "updated": "2013-11-26T22:05:49.000+0000" }, { "id": "281535", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test:\n\nRun the sound and movie tests in KS.\n\nPhone > Play Movie > Local\nPhone > Sound > Local", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T22:35:25.000+0000", "updated": "2013-11-26T22:35:25.000+0000" }, { "id": "281581", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & we can access the local resources in side the app. Tested it using KS, Phone > Play Movie > Local & Phone > Sound > Local\r\nWorks as expected.\r\nClosing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201311252112\r\nTi SDK : 3.2.0.v20131126144841\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0-alpha6\r\nCLI - 3.2.0-alpha3\r\nNexus 4 - android 4.2", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T01:00:32.000+0000", "updated": "2013-11-27T01:00:32.000+0000" }, { "id": "281626", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "@Chris I get this error with the build Lokesh tested\r\n\r\n{code}\r\n[INFO] Writing unsigned apk: /Volumes/Work/clients/tobias_group_time/TEAMWIRE/gt/build/android/bin/app-unsigned.apk\r\n\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n ^\r\nRangeError: Maximum call stack size exceeded\r\nDans-MacBook-Pro-2:gt Dan$ node -v\r\nv0.10.21\r\n{code}\r\n\r\nThe only thing that comes to my mind is that I have A LOT of files in the app.\r\nAny thought?\r\n\r\nThank you.", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-27T13:12:46.000+0000", "updated": "2013-11-27T13:12:46.000+0000" }, { "id": "281627", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rborn], thanks!\n\n1. How many files do you have exactly? Can you give a count from the terminal?\n2. Can you try upping the stack size by passing it in as part of the command to see if that helps? For example, in the code-analyzer, we used the following command:\n\n\"node --stack-size=10000 /usr/local/bin/titanium analyze -p -A -R \"\n\nDoes that help if you play with that stack size value?\n", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T13:39:58.000+0000", "updated": "2013-11-27T13:39:58.000+0000" }, { "id": "281630", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "Files:\r\n\r\n{code}\r\nDans-MacBook-Pro-2:gt Dan$ find Resources/ -name \"*\" | wc -l\r\n 1534\r\n{code}\r\n\r\nTrying to increase the stack size, none of the below work\r\n{code}\r\nnode --stack-size=50000 /usr/local/bin/ti build -p android -b\r\n\r\nor \r\n\r\nnode --max-stack-size=50000 /usr/local/bin/ti build -p android -b\r\n\r\n{code}\r\n\r\n:( Am I doing it wrong ?", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-27T13:55:38.000+0000", "updated": "2013-11-27T13:55:38.000+0000" }, { "id": "281631", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "analyze gives me this:\r\n\r\n{code}\r\n[INFO] Analyzing project at \"/Volumes/Work/clients/tobias_group_time/TEAMWIRE/gt\"\r\n[WARN] warn: Could not read plugin information in \"/Applications/Appcelerator_Studio/configuration/org.eclipse.osgi/bundles/309/1/.cp/enterprise/node_modules\": Error: ENOENT, open '/Applications/Appcelerator_Studio/configuration/org.eclipse.osgi/bundles/309/1/.cp/enterprise/node_modules/package.json'\r\nSDK version 3.2.0 is not available\r\n{code}\r\n", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-27T13:57:27.000+0000", "updated": "2013-11-27T13:57:27.000+0000" }, { "id": "281633", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Likely right, but that fix may not work here. I'm reviewing other instances of that error: TIMOB-13388, and it may involve a different change. I'll let [~cbarber] weigh in. Analyze likely won't work unless you install the 3.2.0-era version of the code analyzer, which we've not publicized yet.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T14:00:07.000+0000", "updated": "2013-11-27T14:00:07.000+0000" }, { "id": "281634", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok, thanks", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-27T14:03:55.000+0000", "updated": "2013-11-27T14:03:55.000+0000" }, { "id": "281639", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "So, after Stephen asked why excluding some file formats instead of only compressing the js ones, I did this\r\n{code}\r\n\t// var store = this.uncompressedTypes.indexOf(entry.entryName.split('.').pop()) != -1;\r\n\tvar store = entry.entryName.split('.').pop() != 'js';\r\n{code}\r\n\r\nin https://github.com/appcelerator/titanium_mobile/blob/master/android/cli/commands/_build.js#L3566\r\n\r\nThe error is gone and the sound gets on the device with this command\r\n{code}\r\nnode --stack-size=50000 /usr/local/bin/ti build -p android -T device -b --skip-js-minify\r\n{code}\r\n\r\nhowever the normal build still complains about the stack size.\r\n\r\n[cbarber] As Stephen was asking, why do we eliminate some files instead of compressing only the ones we need? If I add some files with a weird extension, this will break.\r\n\r\nAlso the fix has another issue (the sound works ok now, except the stack error)\r\n\r\nI have to eval a js file - don't ask why, external module for gcm that needs to take some info from the app\r\nWell, this breaks too, and because of this I cannot show the notification.\r\n\r\n{code}\r\n\r\n\teval(Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory ,'/core/data_providers/phone_db.js').read().text);\r\n\teval(Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory ,'/core/data_providers/thread.js').read().text);\r\n\r\n{code}\r\n\r\nddms error:\r\n{code}\r\n11-27 15:34:38.993: I/TiAPI(4398): gt: gcm.js ================ alert \r\n11-27 15:34:39.013: E/TiBlob(4398): (KrollRuntimeThread) [137,207396] Resources/core/data_providers/phone_db.js\r\n11-27 15:34:39.013: E/TiBlob(4398): java.io.FileNotFoundException: Resources/core/data_providers/phone_db.js\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat android.content.res.AssetManager.openAsset(Native Method)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat android.content.res.AssetManager.open(AssetManager.java:363)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat android.content.res.AssetManager.open(AssetManager.java:337)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.titanium.io.TiResourceFile.getInputStream(TiResourceFile.java:81)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.titanium.TiBlob.getInputStream(TiBlob.java:313)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.titanium.TiBlob.guessContentTypeFromStream(TiBlob.java:193)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.titanium.TiBlob.loadBitmapInfo(TiBlob.java:209)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.titanium.TiBlob.blobFromFile(TiBlob.java:124)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.titanium.TiBlob.blobFromFile(TiBlob.java:107)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.titanium.io.TiResourceFile.read(TiResourceFile.java:125)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.titanium.TiFileProxy.read(TiFileProxy.java:239)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:159)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:289)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:185)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat android.os.Looper.loop(Looper.java:156)\r\n11-27 15:34:39.013: E/TiBlob(4398): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)\r\n\r\n{code}\r\n\r\nthere is more but basically it's the same \"file not found\" error\r\n\r\nThis was working too in 3.1.3\r\n\r\nSorry to be such a a pita :)", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-27T14:40:38.000+0000", "updated": "2013-11-27T14:40:38.000+0000" }, { "id": "281640", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rborn] No, this is helpful! FWIW, we did rewrite the ENTIRE Android build infrastructure, so it's to be expected something doesn't quite work as before, and we can't write enough test cases to cover every possible usage.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T14:45:53.000+0000", "updated": "2013-11-27T14:45:53.000+0000" }, { "id": "281641", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "...like 100000000000000 files in the project :D", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-27T14:46:45.000+0000", "updated": "2013-11-27T14:46:45.000+0000" }, { "id": "281642", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "http://support.apple.com/kb/ht2422. 2.1 B is the max. 2100000000. We can't support 100 trillion :) (100,000,000,000,000)", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-27T14:58:52.000+0000", "updated": "2013-11-27T14:58:52.000+0000" }, { "id": "281643", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "haha :D", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-27T15:04:08.000+0000", "updated": "2013-11-27T15:04:08.000+0000" }, { "id": "281677", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~rborn] When we call aapt, it generates app.ap_. We then open this file as a zip and combine its contents with the contents of all jar file dependencies. The result is the unsigned apk file.\n\nTurns out that certain resources (images, videos, audio, etc) must NOT be compressed inside the apk file. Before yesterday, every file in the unsigned apk was compressed. Turns out that's bad.\n\nAfter investigating what the old Android builder.py does, it turns out they only compresses certain file types. The fix for this ticket is to exclude files from being compressed, thus matching the old behavior.\n\nSince we're now using a different code path inside the \"archiver\" node.js module when creating the unsigned apk, it appears a stack size bug has appeared. I'm investigating a fix. Stay tuned.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-27T18:34:51.000+0000", "updated": "2013-11-27T18:34:51.000+0000" }, { "id": "281710", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thnx Chris.", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-11-27T21:02:20.000+0000", "updated": "2013-11-27T21:02:20.000+0000" } ], "maxResults": 29, "total": 29, "startAt": 0 } } }