{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3257","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3257/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3257/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3257/events","html_url":"https://github.com/NativeScript/NativeScript/issues/3257","id":193985637,"number":3257,"title":"Release build crashes at start, debug works. NS 2.4.1","user":{"login":"terhoraj","id":19226200,"avatar_url":"https://avatars.githubusercontent.com/u/19226200?v=3","gravatar_id":"","url":"https://api.github.com/users/terhoraj","html_url":"https://github.com/terhoraj","followers_url":"https://api.github.com/users/terhoraj/followers","following_url":"https://api.github.com/users/terhoraj/following{/other_user}","gists_url":"https://api.github.com/users/terhoraj/gists{/gist_id}","starred_url":"https://api.github.com/users/terhoraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terhoraj/subscriptions","organizations_url":"https://api.github.com/users/terhoraj/orgs","repos_url":"https://api.github.com/users/terhoraj/repos","events_url":"https://api.github.com/users/terhoraj/events{/privacy}","received_events_url":"https://api.github.com/users/terhoraj/received_events","type":"User","site_admin":false},"labels":[{"id":203690377,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/Android","name":"Android","color":"c7def8","default":false},{"id":203689647,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/T:Question","name":"T:Question","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false},"assignees":[{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-12-07T08:23:10Z","updated_at":"2016-12-20T08:50:29Z","closed_at":"2016-12-20T07:40:12Z","body":"Like title says debug build works and release build crashes. I'm only using/building for Android.\r\nhere my tns info:\r\n│ nativescript            │ 2.4.1           │ 2.4.1          │ Up to date\r\n│ tns-core-modules  │ 2.4.1           │ 2.4.1          │ Up to date\r\n│ tns-android            │ 2.4.1           │ 2.4.1          │ Up to date\r\n\r\nHere's logcat output got using Android Studios logcat (I replaced package names for reason):\r\n\r\n`12-07 10:12:57.108 5232-5232/? E/AndroidRuntime: FATAL EXCEPTION: main\r\n                                                 Process: PACKAGENAME, PID: 5232\r\n                                                 java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: \r\n                                                 \r\n                                                 Error calling module function \r\n                                                 \r\n                                                 Error: com.tns.NativeScriptException: Failed to find module: \"ui/frame/activity\", relative to: app/tns_modules/\r\n                                                     com.tns.Module.resolvePathHelper(Module.java:159)\r\n                                                     com.tns.Module.resolvePath(Module.java:60)\r\n                                                     com.tns.Runtime.runModule(Native Method)\r\n                                                     com.tns.Runtime.runModule(Runtime.java:514)\r\n                                                     com.tns.RuntimeHelper.initRuntime(RuntimeHelper.java:154)\r\n                                                     com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:15)\r\n                                                     android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1037)\r\n                                                     android.app.ActivityThread.handleBindApplication(ActivityThread.java:6422)\r\n                                                     android.app.ActivityThread.access$1800(ActivityThread.java:229)\r\n                                                     android.app.ActivityThread$H.handleMessage(ActivityThread.java:1887)\r\n                                                     android.os.Handler.dispatchMessage(Handler.java:102)\r\n                                                     android.os.Looper.loop(Looper.java:148)\r\n                                                     android.app.ActivityThread.main(ActivityThread.java:7325)\r\n                                                     java.lang.reflect.Method.invoke(Native Method)\r\n                                                     com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)\r\n                                                     com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)\r\n                                                 File: \"<unknown>, line: 1, column: 265\r\n                                                 \r\n                                                 StackTrace: \r\n                                                 \tFrame: function:'require', file:'', line: 1, column: 266\r\n                                                 \tFrame: function:'', file:'/data/data/PACKAGENAME/files/app/tns-java-classes.js', line: 1, column: 61\r\n                                                 \tFrame: function:'require', file:'', line: 1, column: 266`\r\n\r\n\r\napp/tns_modules/ folder does not even exists so why it's trying to find some module from there and why it's not complaining about that with debug build.\r\n\r\nI'm constantly trying to find what causes this, I update this issue if I find a solution."},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/268188243","html_url":"https://github.com/NativeScript/NativeScript/issues/3257#issuecomment-268188243","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3257","id":268188243,"user":{"login":"echap","id":8958958,"avatar_url":"https://avatars.githubusercontent.com/u/8958958?v=3","gravatar_id":"","url":"https://api.github.com/users/echap","html_url":"https://github.com/echap","followers_url":"https://api.github.com/users/echap/followers","following_url":"https://api.github.com/users/echap/following{/other_user}","gists_url":"https://api.github.com/users/echap/gists{/gist_id}","starred_url":"https://api.github.com/users/echap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echap/subscriptions","organizations_url":"https://api.github.com/users/echap/orgs","repos_url":"https://api.github.com/users/echap/repos","events_url":"https://api.github.com/users/echap/events{/privacy}","received_events_url":"https://api.github.com/users/echap/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T08:50:29Z","updated_at":"2016-12-20T08:50:29Z","body":"I do have exactly the same issue, how can I manage to have this fixed ?\r\n\r\nthanks !"}}
{"actor":{"display_login":"echap"}}