Getting error after update NativeScript to 5.0.0












0















I am new to NativeScript. After I have updated NativeScript to 5.0.0, When I create default project and run using tns run android command, It is giving me following error :



 System.err: com.tns.NativeScriptException:
System.err: Calling js method onViewAttachedToWindow failed
System.err: TypeError: this._context.getSupportFragmentManager is not a function
System.err: File: "file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js, line: 190, column: 46
System.err: StackTrace:
System.err: Frame: function:'View._getRootFragmentManager', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 190, column: 47
System.err: Frame: function:'View._getFragmentManager', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 215, column: 32
System.err: Frame: function:'Frame._processNextNavigationEntry', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 134, column: 28
System.err: Frame: function:'Frame._onAttachedToWindow', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 118, column: 14
System.err: Frame: function:'AttachListener.onViewAttachedToWindow', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 35, column: 27
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:983)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:967)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:959)
System.err: at com.tns.gen.java.lang.Object_frame_29_36_AttachListener.onViewAttachedToWindow(Object_frame_29_36_AttachListener.java:17)
System.err: at android.view.View.dispatchAttachedToWindow(View.java:13554)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2690)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1322)
System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1084)
System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5990)
System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:580)
System.err: at android.view.Choreographer.doFrame(Choreographer.java:550)
System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
System.err: at android.os.Handler.handleCallback(Handler.java:739)
System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
System.err: at android.os.Looper.loop(Looper.java:135)
System.err: at android.app.ActivityThread.main(ActivityThread.java:5343)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at java.lang.reflect.Method.invoke(Method.java:372)
System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
ActivityManager: Process org.nativescript.DemoApp (pid 22172) has died


Please help me with the answer. I am facing this issue since I have updated my NativeScript Version.










share|improve this question























  • From which version you upgraded to 5.0? Did you follow the upgrade instructions?

    – Manoj
    Nov 20 '18 at 8:39











  • I have upgraded NativeScript 4.2.3 to 5.0.0

    – J A
    Nov 20 '18 at 8:55











  • Sorry, I didn't get answers for all my questions. Please let me know whether you followed the standard upgrade instructions, your runtime, core modules, angular and webpack config should be in sync with latest.

    – Manoj
    Nov 20 '18 at 9:21
















0















I am new to NativeScript. After I have updated NativeScript to 5.0.0, When I create default project and run using tns run android command, It is giving me following error :



 System.err: com.tns.NativeScriptException:
System.err: Calling js method onViewAttachedToWindow failed
System.err: TypeError: this._context.getSupportFragmentManager is not a function
System.err: File: "file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js, line: 190, column: 46
System.err: StackTrace:
System.err: Frame: function:'View._getRootFragmentManager', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 190, column: 47
System.err: Frame: function:'View._getFragmentManager', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 215, column: 32
System.err: Frame: function:'Frame._processNextNavigationEntry', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 134, column: 28
System.err: Frame: function:'Frame._onAttachedToWindow', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 118, column: 14
System.err: Frame: function:'AttachListener.onViewAttachedToWindow', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 35, column: 27
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:983)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:967)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:959)
System.err: at com.tns.gen.java.lang.Object_frame_29_36_AttachListener.onViewAttachedToWindow(Object_frame_29_36_AttachListener.java:17)
System.err: at android.view.View.dispatchAttachedToWindow(View.java:13554)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2690)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1322)
System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1084)
System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5990)
System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:580)
System.err: at android.view.Choreographer.doFrame(Choreographer.java:550)
System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
System.err: at android.os.Handler.handleCallback(Handler.java:739)
System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
System.err: at android.os.Looper.loop(Looper.java:135)
System.err: at android.app.ActivityThread.main(ActivityThread.java:5343)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at java.lang.reflect.Method.invoke(Method.java:372)
System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
ActivityManager: Process org.nativescript.DemoApp (pid 22172) has died


Please help me with the answer. I am facing this issue since I have updated my NativeScript Version.










share|improve this question























  • From which version you upgraded to 5.0? Did you follow the upgrade instructions?

    – Manoj
    Nov 20 '18 at 8:39











  • I have upgraded NativeScript 4.2.3 to 5.0.0

    – J A
    Nov 20 '18 at 8:55











  • Sorry, I didn't get answers for all my questions. Please let me know whether you followed the standard upgrade instructions, your runtime, core modules, angular and webpack config should be in sync with latest.

    – Manoj
    Nov 20 '18 at 9:21














0












0








0








I am new to NativeScript. After I have updated NativeScript to 5.0.0, When I create default project and run using tns run android command, It is giving me following error :



 System.err: com.tns.NativeScriptException:
System.err: Calling js method onViewAttachedToWindow failed
System.err: TypeError: this._context.getSupportFragmentManager is not a function
System.err: File: "file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js, line: 190, column: 46
System.err: StackTrace:
System.err: Frame: function:'View._getRootFragmentManager', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 190, column: 47
System.err: Frame: function:'View._getFragmentManager', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 215, column: 32
System.err: Frame: function:'Frame._processNextNavigationEntry', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 134, column: 28
System.err: Frame: function:'Frame._onAttachedToWindow', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 118, column: 14
System.err: Frame: function:'AttachListener.onViewAttachedToWindow', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 35, column: 27
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:983)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:967)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:959)
System.err: at com.tns.gen.java.lang.Object_frame_29_36_AttachListener.onViewAttachedToWindow(Object_frame_29_36_AttachListener.java:17)
System.err: at android.view.View.dispatchAttachedToWindow(View.java:13554)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2690)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1322)
System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1084)
System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5990)
System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:580)
System.err: at android.view.Choreographer.doFrame(Choreographer.java:550)
System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
System.err: at android.os.Handler.handleCallback(Handler.java:739)
System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
System.err: at android.os.Looper.loop(Looper.java:135)
System.err: at android.app.ActivityThread.main(ActivityThread.java:5343)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at java.lang.reflect.Method.invoke(Method.java:372)
System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
ActivityManager: Process org.nativescript.DemoApp (pid 22172) has died


Please help me with the answer. I am facing this issue since I have updated my NativeScript Version.










share|improve this question














I am new to NativeScript. After I have updated NativeScript to 5.0.0, When I create default project and run using tns run android command, It is giving me following error :



 System.err: com.tns.NativeScriptException:
System.err: Calling js method onViewAttachedToWindow failed
System.err: TypeError: this._context.getSupportFragmentManager is not a function
System.err: File: "file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js, line: 190, column: 46
System.err: StackTrace:
System.err: Frame: function:'View._getRootFragmentManager', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 190, column: 47
System.err: Frame: function:'View._getFragmentManager', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 215, column: 32
System.err: Frame: function:'Frame._processNextNavigationEntry', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 134, column: 28
System.err: Frame: function:'Frame._onAttachedToWindow', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 118, column: 14
System.err: Frame: function:'AttachListener.onViewAttachedToWindow', file:'file:///data/data/org.nativescript.DemoApp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 35, column: 27
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:983)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:967)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:959)
System.err: at com.tns.gen.java.lang.Object_frame_29_36_AttachListener.onViewAttachedToWindow(Object_frame_29_36_AttachListener.java:17)
System.err: at android.view.View.dispatchAttachedToWindow(View.java:13554)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2690)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2697)
System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1322)
System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1084)
System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5990)
System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:580)
System.err: at android.view.Choreographer.doFrame(Choreographer.java:550)
System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
System.err: at android.os.Handler.handleCallback(Handler.java:739)
System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
System.err: at android.os.Looper.loop(Looper.java:135)
System.err: at android.app.ActivityThread.main(ActivityThread.java:5343)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at java.lang.reflect.Method.invoke(Method.java:372)
System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
ActivityManager: Process org.nativescript.DemoApp (pid 22172) has died


Please help me with the answer. I am facing this issue since I have updated my NativeScript Version.







nativescript updates nativescript-angular






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 20 '18 at 7:42









J AJ A

156




156













  • From which version you upgraded to 5.0? Did you follow the upgrade instructions?

    – Manoj
    Nov 20 '18 at 8:39











  • I have upgraded NativeScript 4.2.3 to 5.0.0

    – J A
    Nov 20 '18 at 8:55











  • Sorry, I didn't get answers for all my questions. Please let me know whether you followed the standard upgrade instructions, your runtime, core modules, angular and webpack config should be in sync with latest.

    – Manoj
    Nov 20 '18 at 9:21



















  • From which version you upgraded to 5.0? Did you follow the upgrade instructions?

    – Manoj
    Nov 20 '18 at 8:39











  • I have upgraded NativeScript 4.2.3 to 5.0.0

    – J A
    Nov 20 '18 at 8:55











  • Sorry, I didn't get answers for all my questions. Please let me know whether you followed the standard upgrade instructions, your runtime, core modules, angular and webpack config should be in sync with latest.

    – Manoj
    Nov 20 '18 at 9:21

















From which version you upgraded to 5.0? Did you follow the upgrade instructions?

– Manoj
Nov 20 '18 at 8:39





From which version you upgraded to 5.0? Did you follow the upgrade instructions?

– Manoj
Nov 20 '18 at 8:39













I have upgraded NativeScript 4.2.3 to 5.0.0

– J A
Nov 20 '18 at 8:55





I have upgraded NativeScript 4.2.3 to 5.0.0

– J A
Nov 20 '18 at 8:55













Sorry, I didn't get answers for all my questions. Please let me know whether you followed the standard upgrade instructions, your runtime, core modules, angular and webpack config should be in sync with latest.

– Manoj
Nov 20 '18 at 9:21





Sorry, I didn't get answers for all my questions. Please let me know whether you followed the standard upgrade instructions, your runtime, core modules, angular and webpack config should be in sync with latest.

– Manoj
Nov 20 '18 at 9:21












3 Answers
3






active

oldest

votes


















1














Do you have something like



class MainActivity extends android.app.Activity {


I updated the Activity to AppCompatActivity for nativescript version 5



class Activity extends android.support.v7.app.AppCompatActivity {


and the error is gone.



but if you have startActivityForResult, maybe you will get other new errors then.






share|improve this answer
























  • No, I am having this issue in NativeScript not AndroidStudio

    – J A
    Nov 21 '18 at 7:35



















0














Most likely you have upgraded just the NativeScript CLI and not the project's dependencies and runtime. Follow the detailed upgrade instruction in this documentation section and make sure that you have migrated your entire project by updating the runtimes ('tns-android' and/or 'tns-ios'), the modules ('tns-core-modules') and all related plugins/dependencies.






share|improve this answer
























  • I have followed same link and executed(upgraded) all commands(plugins). Still not working. Please help me with this issue.

    – J A
    Nov 20 '18 at 9:53



















0














I have solved this issue. Actually I was having issue with AndroidStudio. By doing ClearCache in AndroidStudio my problem get solved. It might be space issue that AndroidStudio was occupying in disc so my NativeScript application was not getting enough space.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53388316%2fgetting-error-after-update-nativescript-to-5-0-0%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Do you have something like



    class MainActivity extends android.app.Activity {


    I updated the Activity to AppCompatActivity for nativescript version 5



    class Activity extends android.support.v7.app.AppCompatActivity {


    and the error is gone.



    but if you have startActivityForResult, maybe you will get other new errors then.






    share|improve this answer
























    • No, I am having this issue in NativeScript not AndroidStudio

      – J A
      Nov 21 '18 at 7:35
















    1














    Do you have something like



    class MainActivity extends android.app.Activity {


    I updated the Activity to AppCompatActivity for nativescript version 5



    class Activity extends android.support.v7.app.AppCompatActivity {


    and the error is gone.



    but if you have startActivityForResult, maybe you will get other new errors then.






    share|improve this answer
























    • No, I am having this issue in NativeScript not AndroidStudio

      – J A
      Nov 21 '18 at 7:35














    1












    1








    1







    Do you have something like



    class MainActivity extends android.app.Activity {


    I updated the Activity to AppCompatActivity for nativescript version 5



    class Activity extends android.support.v7.app.AppCompatActivity {


    and the error is gone.



    but if you have startActivityForResult, maybe you will get other new errors then.






    share|improve this answer













    Do you have something like



    class MainActivity extends android.app.Activity {


    I updated the Activity to AppCompatActivity for nativescript version 5



    class Activity extends android.support.v7.app.AppCompatActivity {


    and the error is gone.



    but if you have startActivityForResult, maybe you will get other new errors then.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 20 '18 at 18:24









    user10655801user10655801

    112




    112













    • No, I am having this issue in NativeScript not AndroidStudio

      – J A
      Nov 21 '18 at 7:35



















    • No, I am having this issue in NativeScript not AndroidStudio

      – J A
      Nov 21 '18 at 7:35

















    No, I am having this issue in NativeScript not AndroidStudio

    – J A
    Nov 21 '18 at 7:35





    No, I am having this issue in NativeScript not AndroidStudio

    – J A
    Nov 21 '18 at 7:35













    0














    Most likely you have upgraded just the NativeScript CLI and not the project's dependencies and runtime. Follow the detailed upgrade instruction in this documentation section and make sure that you have migrated your entire project by updating the runtimes ('tns-android' and/or 'tns-ios'), the modules ('tns-core-modules') and all related plugins/dependencies.






    share|improve this answer
























    • I have followed same link and executed(upgraded) all commands(plugins). Still not working. Please help me with this issue.

      – J A
      Nov 20 '18 at 9:53
















    0














    Most likely you have upgraded just the NativeScript CLI and not the project's dependencies and runtime. Follow the detailed upgrade instruction in this documentation section and make sure that you have migrated your entire project by updating the runtimes ('tns-android' and/or 'tns-ios'), the modules ('tns-core-modules') and all related plugins/dependencies.






    share|improve this answer
























    • I have followed same link and executed(upgraded) all commands(plugins). Still not working. Please help me with this issue.

      – J A
      Nov 20 '18 at 9:53














    0












    0








    0







    Most likely you have upgraded just the NativeScript CLI and not the project's dependencies and runtime. Follow the detailed upgrade instruction in this documentation section and make sure that you have migrated your entire project by updating the runtimes ('tns-android' and/or 'tns-ios'), the modules ('tns-core-modules') and all related plugins/dependencies.






    share|improve this answer













    Most likely you have upgraded just the NativeScript CLI and not the project's dependencies and runtime. Follow the detailed upgrade instruction in this documentation section and make sure that you have migrated your entire project by updating the runtimes ('tns-android' and/or 'tns-ios'), the modules ('tns-core-modules') and all related plugins/dependencies.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 20 '18 at 9:38









    Nick IlievNick Iliev

    7,32511142




    7,32511142













    • I have followed same link and executed(upgraded) all commands(plugins). Still not working. Please help me with this issue.

      – J A
      Nov 20 '18 at 9:53



















    • I have followed same link and executed(upgraded) all commands(plugins). Still not working. Please help me with this issue.

      – J A
      Nov 20 '18 at 9:53

















    I have followed same link and executed(upgraded) all commands(plugins). Still not working. Please help me with this issue.

    – J A
    Nov 20 '18 at 9:53





    I have followed same link and executed(upgraded) all commands(plugins). Still not working. Please help me with this issue.

    – J A
    Nov 20 '18 at 9:53











    0














    I have solved this issue. Actually I was having issue with AndroidStudio. By doing ClearCache in AndroidStudio my problem get solved. It might be space issue that AndroidStudio was occupying in disc so my NativeScript application was not getting enough space.






    share|improve this answer




























      0














      I have solved this issue. Actually I was having issue with AndroidStudio. By doing ClearCache in AndroidStudio my problem get solved. It might be space issue that AndroidStudio was occupying in disc so my NativeScript application was not getting enough space.






      share|improve this answer


























        0












        0








        0







        I have solved this issue. Actually I was having issue with AndroidStudio. By doing ClearCache in AndroidStudio my problem get solved. It might be space issue that AndroidStudio was occupying in disc so my NativeScript application was not getting enough space.






        share|improve this answer













        I have solved this issue. Actually I was having issue with AndroidStudio. By doing ClearCache in AndroidStudio my problem get solved. It might be space issue that AndroidStudio was occupying in disc so my NativeScript application was not getting enough space.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 21 '18 at 7:31









        J AJ A

        156




        156






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53388316%2fgetting-error-after-update-nativescript-to-5-0-0%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith