Run the following command on a windows machine: ns typings android <package-name>
That always results into the message:
No .jar or .aar file specified. Please specify at least one of the following:
- path to .jar file with --jar <jar>
- path to .aar file with --aar <aar>
Run ns typings android <package-name> on a windows machine
Relevant log output (if applicable)
No response
Environment
OS: Windows 11 10.0.22631
CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics
Shell: Not Found
node: 20.15.0
npm: 10.7.0
nativescript: Not Found
# android
java: Not Found
ndk: Not Found
apis: 22, 25, 26, 27, 28, 29, 30, 31, 32, 33, 33, 34, 35
build_tools: 27.0.3, 28.0.2, 28.0.3, 29.0.1, 29.0.2, 30.0.0, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 33.0.0, 33.0.2, 34.0.0, 35.0.0
system_images:
- android-22 | Google APIs Intel x86 Atom
- android-26 | Google APIs Intel x86 Atom
- android-27 | Google APIs Intel x86 Atom
- android-27 | Google Play Intel x86 Atom
- android-28 | Google APIs Intel x86 Atom
- android-29 | Intel x86 Atom
- android-29 | Google APIs Intel x86 Atom
- android-30 | Google APIs Intel x86 Atom
- android-31 | Google APIs Intel x86_64 Atom
- android-33 | Google Play Intel x86_64 Atom
- android-34 | Google Play Intel x86_64 Atom
# ios
xcode: Not Found
cocoapods: Not Found
python: Not Found
python3: Not Found
ruby: Not Found
platforms: Not Found
Issue Description
Run the following command on a windows machine:
ns typings android <package-name>
That always results into the message:Solution: Replace hard coded split char
"/"
topath.sep
https://github.com/NativeScript/nativescript-cli/blob/bf9a6cdbed227c876b8a94a13e3517e684dad924/lib/commands/typings.ts#L80C62-L80C65Reproduction
Run
ns typings android <package-name>
on a windows machineRelevant log output (if applicable)
No response
Environment
Dependencies
Please accept these terms