Skip to content

tns platform update android fails if no platform is added #3632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Natalia-Hristova opened this issue May 29, 2018 · 1 comment
Closed

tns platform update android fails if no platform is added #3632

Natalia-Hristova opened this issue May 29, 2018 · 1 comment
Labels
Milestone

Comments

@Natalia-Hristova
Copy link

Natalia-Hristova commented May 29, 2018

Please, provide the details below:

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

Tell us about the problem

When try to update android platform to current official version (4.0.1) comamnd tns platform update android fails:

tns platform update android
The platform android is not added to this project. Please use 'tns platform add <platform>'
# tns platform update

==========

┌──────────────────────────┬─────────────────────────────────────────┐
│ Usage                    │ Synopsis                                │
│ Android latest runtime   │ $ tns platform update android           │
│ Android selected runtime │ $ tns platform update android@<Version> │
│ iOS latest runtime       │ $ tns platform update ios               │
│ iOS selected runtime     │ $ tns platform update ios@<Version>     │
└──────────────────────────┴─────────────────────────────────────────┘

Updates the NativeScript runtime for the specified platform. You must specify the target platform that you want to update.

### Attributes

    * <Platform> is the target mobile platform whose runtime you want to update. You can set the following target platforms.
        * android - Updates the Android runtime.
        * ios - Updates the iOS runtime.
    * <Version> is any available version of the respective platform runtime published in npm. 

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.1.0-2018-05-28-11677

Please tell us how to recreate the issue in as much detail as possible.

  1. tns create TestApp
  2. tns platform update android

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Consider using the playground to provide the code you have issues with.

@Natalia-Hristova Natalia-Hristova changed the title In Chrome DevTools tabs are empty tns platform update android fails if no platform is added May 29, 2018
@Natalia-Hristova Natalia-Hristova added this to the 4.1.0 milestone May 29, 2018
@Natalia-Hristova Natalia-Hristova changed the title tns platform update android fails if no platform is added tns platform update android fails if no platform is added May 29, 2018
@Natalia-Hristova
Copy link
Author

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant