NativeScript sample-fitness does not render

Thread is closed for posting
3 posts, 0 answers
  1. Dave
    Dave avatar
    32 posts
    Member since:
    Feb 2008

    Posted 18 May 2015 Link to this post

    Recently attempted to run the NativeScript sample-fitness project and it fails to render on a Samsung Note 4 with android 5.0.1 

    Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:  Error:   Module 'application' not found  File: 'app.js' line 0 column 68

     

  2. Dave
    Dave avatar
    32 posts
    Member since:
    Feb 2008

    Posted 19 May 2015 Link to this post

    further to this thread - project  'does not render'...this project fails the build as an App Package and this error appears 

    Server exceptionProject "Fitness.tmp.proj" (default targets):
    Error: [crunch] ERROR: 9-patch image /tmp/builds/RMe28JRcCIEUWdCRPo/app/output/NativeScript090/platforms/android/res/drawable-nodpi/splashscreen.9.png malformed.
    Error: [crunch] ERROR: 9-patch image /tmp/builds/RMe28JRcCIEUWdCRPo/app/output/NativeScript090/platforms/android/res/drawable-nodpi/splashscreen.9.png malformed.
    Done building project "Fitness.tmp.proj" -- FAILED.

  3. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 19 May 2015 Link to this post

    Hi Dave,

    The problem happens because the fitness sample application was created with an older version of the NativeScript modules, while AppBuilder is now updated to the latest version of the runtimes and the CLI underneath.

    We upgraded the project and it is working now.

    Please, excuse the inconvenience.

    Kind regards,
    Erjan Gavalji
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top