{ "id": "113056", "key": "TIMOB-13718", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-06-04T14:25:49.000+0000", "created": "2013-04-18T11:54:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27923", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "112643", "key": "TIMOB-13515", "fields": { "summary": "Titanium Studio 3.1 can't use Android x86 emulator", "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": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:38.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": "When I run titanium mobile project on Titanium Studio with Android x86 emulator, I got:\r\n\r\n{code}\"[WARN] Fastdev enabled, but server isn't running, deploying normally\" message and Fastdev doesn't work.{code}\r\n\r\nI also got the following message:\r\n{code}\"[INFO] [2013-04-18 20:36:01,292] Serving up files for org.cckorea.cc10musician at 0.0.0.0:54923 from /Users/yomybaby/Documents/TiWorkspace/CC10Music\"{code}\r\n\r\nI followed Android x86 emulator setting which your blog mentioned. (http://developer.appcelerator.com/blog/2013/04/configuring-appcelerator-titanium-to-use-intel-x86-images.html)\r\n\r\nIf choose arm emulator in Ti SDK 3.1.0GA, Fastdev doesn't work too!\r\nIf choose arm emulator in Ti SDK 3.0.2GA, Fastdev works properly.", "attachment": [], "flagged": false, "summary": "Android: FastDev doesn't work with x86 Android Emulator.", "creator": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Ti 3.1.GA\r\nTi Studo 3.1.GA\r\nAndroid SDK 4.1.x", "comment": { "comments": [ { "id": "248749", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "Fastdev doesn't seem to work neither under x86 or arm after upgrading to Titanium Studio 3.1.0.201304151600 (project on SDK 3.0.0.GA).\n\nThe process blows up immediately on launch. It was working, and I used it all the time, in the prior Titanium Studio version (3.0.x).\n\nLogCat snippet:\n\n{code}\n04-23 09:45:15.625: D/TiAssetHelper(4197): Fetching \"app.js\" with Fastdev...\n04-23 09:45:15.625: D/AndroidRuntime(4197): Shutting down VM\n04-23 09:45:15.625: W/dalvikvm(4197): threadid=1: thread exiting with uncaught exception (group=0xb3ce1908)\n04-23 09:45:15.625: E/TiApplication(4197): (main) [74,212] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{my.mobile.app/my.mobile.app.MyMobileAppActivity}: android.os.NetworkOnMainThreadException; Titanium 3.0.0,2012/12/12 18:49,a5894b3\n04-23 09:45:15.625: E/TiApplication(4197): java.lang.RuntimeException: Unable to start activity ComponentInfo{my.mobile.app/my.mobile.app.MyMobileAppActivity}: android.os.NetworkOnMainThreadException\n{code}", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-23T10:06:43.000+0000", "updated": "2013-04-23T10:06:43.000+0000" }, { "id": "248750", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "(additional stack trace)\n{code}\n04-23 09:45:15.625: E/TiApplication(4197): Caused by: android.os.NetworkOnMainThreadException\n04-23 09:45:15.625: E/TiApplication(4197): \tat android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117)\n04-23 09:45:15.625: E/TiApplication(4197): \tat libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:163)\n04-23 09:45:15.625: E/TiApplication(4197): \tat libcore.io.IoBridge.recvfrom(IoBridge.java:513)\n04-23 09:45:15.625: E/TiApplication(4197): \tat java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)\n04-23 09:45:15.625: E/TiApplication(4197): \tat java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)\n04-23 09:45:15.625: E/TiApplication(4197): \tat java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.kroll.common.TiFastDev$Session.blockRead(TiFastDev.java:310)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.kroll.common.TiFastDev$Session.readInt(TiFastDev.java:349)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.kroll.common.TiFastDev$Session.readTokenCount(TiFastDev.java:412)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.kroll.common.TiFastDev.openInputStream(TiFastDev.java:214)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.kroll.util.KrollAssetHelper.readAsset(KrollAssetHelper.java:53)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:104)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:152)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:109)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:505)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:145)\n04-23 09:45:15.625: E/TiApplication(4197): \tat org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:97)\n04-23 09:45:15.625: E/TiApplication(4197): \tat android.app.Activity.performCreate(Activity.java:5104)\n04-23 09:45:15.625: E/TiApplication(4197): \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)\n04-23 09:45:15.625: E/TiApplication(4197): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)\n04-23 09:45:15.625: E/TiApplication(4197): \t... 11 more\n04-23 09:45:15.655: E/AndroidRuntime(4197): FATAL EXCEPTION: main\n04-23 09:45:15.655: E/AndroidRuntime(4197): java.lang.RuntimeException: Unable to start activity ComponentInfo{my.mobile.app/my.mobile.app.MyMobileAppActivity}: android.os.NetworkOnMainThreadException\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.app.ActivityThread.access$600(ActivityThread.java:141)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.os.Handler.dispatchMessage(Handler.java:99)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.os.Looper.loop(Looper.java:137)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.app.ActivityThread.main(ActivityThread.java:5039)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat java.lang.reflect.Method.invokeNative(Native Method)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat java.lang.reflect.Method.invoke(Method.java:511)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat dalvik.system.NativeStart.main(Native Method)\n04-23 09:45:15.655: E/AndroidRuntime(4197): Caused by: android.os.NetworkOnMainThreadException\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:163)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat libcore.io.IoBridge.recvfrom(IoBridge.java:513)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.kroll.common.TiFastDev$Session.blockRead(TiFastDev.java:310)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.kroll.common.TiFastDev$Session.readInt(TiFastDev.java:349)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.kroll.common.TiFastDev$Session.readTokenCount(TiFastDev.java:412)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.kroll.common.TiFastDev.openInputStream(TiFastDev.java:214)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.kroll.util.KrollAssetHelper.readAsset(KrollAssetHelper.java:53)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:104)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:152)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:109)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:505)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:145)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:97)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.app.Activity.performCreate(Activity.java:5104)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)\n04-23 09:45:15.655: E/AndroidRuntime(4197): \t... 11 more\n{code}", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-23T10:10:56.000+0000", "updated": "2013-04-23T10:10:56.000+0000" }, { "id": "253609", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was not able to reproduce this on 3.1.0.GA and the latest master (3.2.0).\n\nI launched the x86 emulator, and relaunched with fastdev. I didn't get any errors, and the files updated correctly.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-23T09:40:18.000+0000", "updated": "2013-05-23T09:40:18.000+0000" }, { "id": "253685", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We are unable to reproduce this issue. Please reopen if it's still an issue.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-23T18:09:55.000+0000", "updated": "2013-05-23T18:09:55.000+0000" }, { "id": "255410", "author": { "name": "eclipxe", "key": "eclipxe", "displayName": "Chris Lang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am seeing this issue Ti 3.1 GA.\r\nEmulator 4.0.3 (x86) - Works fine\r\n\r\nEmulator 4.1.2 and above (x86) fails.", "updateAuthor": { "name": "eclipxe", "key": "eclipxe", "displayName": "Chris Lang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-02T21:57:30.000+0000", "updated": "2013-06-02T22:02:46.000+0000" }, { "id": "255511", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening due to some new info.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T16:37:46.000+0000", "updated": "2013-06-03T16:37:46.000+0000" }, { "id": "255713", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested it with 4.0.3.x86 4.1.2.x86 and 4.2.2.x86. Cannot reproduce the mentioned crash. It seems to work fine. Can you post your test case?", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T01:34:12.000+0000", "updated": "2013-06-04T01:34:12.000+0000" }, { "id": "255729", "author": { "name": "eclipxe", "key": "eclipxe", "displayName": "Chris Lang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried on a new project and it is working as expected - okay to close again, sorry!", "updateAuthor": { "name": "eclipxe", "key": "eclipxe", "displayName": "Chris Lang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T03:00:50.000+0000", "updated": "2013-06-04T03:00:50.000+0000" }, { "id": "255807", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-closing based on customer feedback.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T14:25:49.000+0000", "updated": "2013-06-04T14:25:49.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }