You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/man_pages/index.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ Command | Description
32
32
[platform list](project/configuration/platform.html) | Lists all platforms that the project currently targets.
33
33
[platform remove `<Platform>`](project/configuration/platform-remove.html) | Removes the selected platform from the platforms that the project currently targets. This operation deletes all platform-specific files and subdirectories from your project.
34
34
[platform update `<Platform>`](project/configuration/platform-update.html) | Updates the NativeScript runtime for the specified platform.
35
+
[resources update](project/configuration/resources-update.html) | Updates the App_Resources/<platform>'s internal folder structure to conform to that of an Android Studio project.
35
36
[prepare `<Platform>`](project/configuration/prepare.html) | Copies relevant content from the app directory to the subdirectory for the selected target platform to let you build the project.
36
37
[build `<Platform>`](project/testing/build.html) | Builds the project for the selected target platform and produces an application package or an emulator package.
37
38
[deploy `<Platform>`](project/testing/deploy.html) | Deploys the project to a connected physical or virtual device.
Updates the App_Resources/<platform>'s internal folder structure to conform to that of an Android Studio project. Android resource files and directories will be located at the following paths:
14
+
-`drawable-*`, `values`, `raw`, etc. can be found at `App_Resources/Android/src/main/res`
15
+
-`AndroidManifest.xml` can be found at `App_Resources/Android/src/main/AndroidManifest.xml`
16
+
- Java source files can be dropped in at `App_Resources/Android/src/main/java` after creating the proper package subdirectory structure
17
+
- Additional arbitrary assets can be dropped in at `App_Resources/Android/src/main/assets`
18
+
19
+
### Command Limitations
20
+
21
+
* The command works only for the directory structure under `App_Resources/Android`. Running `$ tns resources-update ios` will have no effect.
22
+
23
+
### Related Commands
24
+
25
+
Command | Description
26
+
----------|----------
27
+
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
28
+
[platform add](platform-add.html) | Configures the current project to target the selected platform.
29
+
[platform remove](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
30
+
[platform](platform.html) | Lists all platforms that the project currently targets.
31
+
[prepare](prepare.html) | Copies common and relevant platform-specific content from the app directory to the subdirectory for the selected target platform in the platforms directory.
Copy file name to clipboardExpand all lines: docs/man_pages/project/configuration/update.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,4 +21,5 @@ Command | Description
21
21
[platform remove](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
22
22
[platform](platform.html) | Lists all platforms that the project currently targets.
23
23
[prepare](prepare.html) | Copies common and relevant platform-specific content from the app directory to the subdirectory for the selected target platform in the platforms directory.
24
-
[platform update](platform-update.html) | Updates the NativeScript runtime for the specified platform.
24
+
[platform update](platform-update.html) | Updates the NativeScript runtime for the specified platform.
25
+
[resources update android](resources-update.html) | Updates the App_Resources/Android directory to the new v4.0 directory structure
0 commit comments