Skip to content

Command to migrate Android resources to 4.0.0 structure #3497

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
rosen-vladimirov opened this issue Mar 26, 2018 · 1 comment
Closed

Command to migrate Android resources to 4.0.0 structure #3497

rosen-vladimirov opened this issue Mar 26, 2018 · 1 comment
Assignees
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

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?

Yes

Tell us about the problem

In NativeScript 4.0.0 the content of App_Resources/Android is changed to be compatible with Android Studio. Old structure will still work, but it will be great in case there's a command to migrate the old resources to the new structure.

Which platform(s) does your issue occur on?

Android

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

  • CLI: rc
  • Cross-platform modules: Not applicable
  • Runtime(s): tns-android from rc tag
  • Plugin(s): Not applicable

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

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

No

@rosen-vladimirov
Copy link
Contributor Author

The new command is available in rc and next of CLI. In order to migrate your Android resources, you can use:

$ tns resources update

For more information check the help of the command:

$ tns help resources update

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

No branches or pull requests

3 participants