NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 195 forks source link

tns platform add android failed with code 4294963238 #3583

Closed AshleyCao closed 6 years ago

AshleyCao commented 6 years ago

Please, provide the details below:

tns platform add android doesn't work

Did you verify this is a real problem by searching the [NativeScript Forum]?

Yes

Tell us about the problem

Command npm.cmd install ../tns-android-4.0.1.tgz --silent --save-exact --save failed with exit code 4294963238

Which platform(s) does your issue occur on?

Android

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

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

tns platform remove android (succeed) --> tns platform add android (fail)

AshleyCao commented 6 years ago

solved by download platform by "npm pack tns-android" and unzip folder