{ "id": "154556", "key": "AC-585", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-04T05:25:13.000+0000", "created": "2016-01-28T07:49:24.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updated": "2016-02-04T05:25:13.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I have a problem only with deploying android application on titanium 5.0 framework.A have searched for this issue and try a lot a stuff but nothing can help.I got this message:\r\nV8Object: (KrollRuntimeThread) [11,14] Runtime disposed, cannot set property 'userAgent'.\r\nCan somebody help or give me reference where to find solution.Thanks.", "attachment": [ { "id": "58102", "filename": "debug.txt", "author": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-01T07:59:00.000+0000", "size": 11465, "mimeType": "text/plain" } ], "flagged": false, "summary": "V8Object: (KrollRuntimeThread) [11,14] Runtime disposed, cannot set property 'userAgent'", "creator": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "appcelerator android bug", "comment": { "comments": [ { "id": "375410", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nAre you running on device?. Please provide a full description of you environment and a sample code. You can take some help from this [community post|https://archive.appcelerator.com/question/160742/cant-run-app-on-android-device-but-debug-works#comment-197873]. Follow Chris Barber comment on the post. \r\n\r\nThanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-01-28T09:24:27.000+0000", "updated": "2016-01-28T09:24:27.000+0000" }, { "id": "375411", "author": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*This is the application log.I run directly on android device.Application show splash screen and than I got message application has stoped.*\r\n-- Start application log -----------------------------------------------------\r\n[INFO] : Forwarding host port 64698 to device for debugging\r\n[INFO] : Project built successfully in 2m 6s 440ms\r\n[INFO] : TiApplication: (main) [0,0] checkpoint, app created.\r\n[INFO] : TiApplication: (main) [819,819] Titanium 5.0.3 (2015/12/03 12:51 1ac4be4)\r\n[INFO] : DatabaseHelper: No value in database for platform key: 'unique_machine_id' returning supplied default ''\r\n[INFO] : DatabaseHelper: No value in database for platform key: 'hardware_machine_id' returning supplied default ''\r\n[INFO] : I/dalvikvm-heap: Grow heap (frag case) to 11.921MB for 501932-byte allocation\r\n[INFO] : TiApplication: (main) [441,1260] Titanium Javascript runtime: v8\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[INFO] : TiApplication: (main) [1,1] Analytics have been disabled\r\n[WARN] : V8Object: (KrollRuntimeThread) [101,102] Runtime disposed, cannot set property 'userAgent'\r\n[WARN] : dalvikvm: threadid=10: thread exiting with uncaught exception (group=0x41fe92a0)", "updateAuthor": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-28T09:28:11.000+0000", "updated": "2016-01-28T09:28:27.000+0000" }, { "id": "375412", "author": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I used a titanium 5.0 framework,java 1.6 JRE.Application works on ios without problem.App.js can't even read first line so i supposed maybe this is not about code.I tried with creating simple alert popup and simple window in app.js,but application cannot reach this code.", "updateAuthor": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-28T09:32:43.000+0000", "updated": "2016-01-28T09:42:31.000+0000" }, { "id": "375416", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Try using Appcelerator SDK 5.1.2.GA with Appcelrator studio, build: 4.4.0.201511182122. Also, Try cleaning the project and if there is a previous version installed in the device, try uninstalling it. You should open the project in terminal from the studio and run \"appc run -l trace\" attach the log as a file in here. Did you followed the community post?", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-01-28T10:23:12.000+0000", "updated": "2016-01-28T10:23:12.000+0000" }, { "id": "375417", "author": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks you on answer.My application use several modules.I suspected on module so I disabled modules one by one and I found:ti.styledlabel,ti.barcode,dk.napp.drawer,com.obscure.keychain not work.Is there are any new release of this modules that is supported by new version of titanium?", "updateAuthor": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-28T10:37:44.000+0000", "updated": "2016-01-28T10:37:53.000+0000" }, { "id": "375420", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, You have to be specific which module is causing problem and the particular module version. Did you tried with latest SDK? Send the Log.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-01-28T10:53:42.000+0000", "updated": "2016-01-28T10:53:42.000+0000" }, { "id": "375422", "author": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I will now investigate which version doesn't work,and I will post result here.With this code i cannot use lastest titanum version because of android 6.0 application permission.I need to make change whereever hardware permission is need it.Because of that i back to previous version of titanium.", "updateAuthor": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-28T12:11:17.000+0000", "updated": "2016-01-28T12:11:17.000+0000" }, { "id": "375496", "author": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,I found this line of code made problem to my application in android manifest:\r\n* android:theme=\"@android:style/Theme.Holo.Light.DarkActionBar\"\r\nAfter I removed this line my application start but it doesn't show some layout resource.\r\nAlso I got this log:\r\nWARN] : TableViewRowProxy: (KrollRuntimeThread) [339,1127] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead\r\n[WARN] : TableViewRowProxy: (KrollRuntimeThread) [1,1128] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead\r\n[WARN] : TableViewRowProxy: (KrollRuntimeThread) [3,1131] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead\r\n[WARN] : TableViewRowProxy: (KrollRuntimeThread) [1,1132] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead\r\n[WARN] : TableViewRowProxy: (KrollRuntimeThread) [2,1134] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead\r\n[INFO] : dalvikvm: Could not find method android.view.ViewGroup.onRtlPropertiesChanged, referenced from method android.support.v7.widget.Toolbar.onRtlPropertiesChanged\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 13789: Landroid/view/ViewGroup;.onRtlPropertiesChanged (I)V\r\n[INFO] : dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 578: Landroid/content/res/TypedArray;.getChangingConfigurations ()I\r\n[INFO] : dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 600: Landroid/content/res/TypedArray;.getType (I)I\r\n[ERROR] : SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length\r\n[ERROR] : SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length\r\n[WARN] : TiVerify: (Timer-0) [3903,5037] Verifying module licenses...\r\n[INFO] : TiVerify: (Timer-0) [708,5745] Succesfully verified module licenses\r\n[INFO] : webclipboard: clipservice: android.sec.clipboard.ClipboardExManager@42e65f38\r\n[ERROR] : SQLiteLog: (1) no such table: CacheGroups\r\n[ERROR] : SQLiteLog: (1) no such table: Caches\r\n[ERROR] : SQLiteLog: (1) no such table: Origins\r\n[ERROR] : SQLiteLog: (1) no such table: DeletedCacheResources\r\n[ERROR] : SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length\r\n[ERROR] : SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length\r\n[INFO] : GATE: DEV_ACTION_COMPLETED\r\n[INFO] : GATE: DEV_ACTION_COMPLETED\r\n[ERROR] : SQLiteLog: (14) cannot open file at line 30241 of [00bb9c9ce4]\r\n[ERROR] : SQLiteLog: (14) os_unix.c:30241: (2) open(/NotificationPermissions.db) -\r\n[WARN] : IInputConnectionWrapper: getSelectedText on inactive InputConnection\r\n[WARN] : IInputConnectionWrapper: setComposingText on inactive InputConnection\r\n[WARN] : IInputConnectionWrapper: getExtractedText on inactive InputConnection\r\n[INFO] : SensorManager: Set min delay = 200000\r\n[INFO] : SensorManager: Set min delay = 200000\r\n[INFO] : SensorManager: Set min delay = 200000\r\n[INFO] : SensorManager: Before sending... delay = 200000\r\n[INFO] : Sensors: sendDelay --- 200000000\r\n[ERROR] : InputEventReceiver: channel ~ Publisher closed input channel or an error occurred. events=0x9\r\n", "updateAuthor": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-29T12:03:44.000+0000", "updated": "2016-01-29T12:15:37.000+0000" }, { "id": "375577", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello please run \"appc run -l trace\" on your project. Attach the full log as a file with this ticket. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-02-01T06:25:03.000+0000", "updated": "2016-02-01T06:25:03.000+0000" }, { "id": "375582", "author": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,here is the log of application.Main problem now is activity bar because it doesnt show content always.", "updateAuthor": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-01T08:00:24.000+0000", "updated": "2016-02-01T08:00:24.000+0000" }, { "id": "375600", "author": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you please tell me how to include @android:style/Theme.AppCompat.Light.DarkActionBar\".It show me this error:\r\n- Error: No resource found that matches the given name (at 'theme' with value '@android:style/Theme.AppCompat.Light.DarkActionBar').\r\nSuppose I need to have some module appcompat but i cannot find to download.As I said before I am trouble with theme:@android:style/Theme.Holo.Light.DarkActionBar,application wont start and I deleted this line of code tiapp.xml.\r\nCan you help me please?", "updateAuthor": { "name": "nidzazr", "key": "nidzazr", "displayName": "macao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-01T13:56:58.000+0000", "updated": "2016-02-01T13:56:58.000+0000" }, { "id": "375695", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "The Titanium SDK uses the [appcompat library|http://developer.android.com/tools/support-library/features.html#v7-appcompat] to provide support for themes. A benefit of using the appcompat library is that it provides ActionBar support on devices running Android 2.1.x and later. Prior to the usage of the appcompat library, the ActionBar was only available to devices running Android 3.x and later. Note that applications can only use the AppCompat themes. \r\n\r\nNow Create a directory in \"platform/android/res/values/builtin_themes.xml\" in your app. Put the below code in the \"builtin_themes.xml\"\r\n{code}\r\n\r\n\r\n