0
votes

I have window 7 and I am working to add android platorm in ionicframwork so that i can build apk file. I have correctly installed node.js then npm, then ionic cli and cordova.

Now when i move to my ionic app folder and trys to add ionic cordova platform add android. The follow error comes which you can see in below screen

Command failed: powershell (Get-CimInstance -ClassName Win32_OperatingSystem>.batch operable program or batch file.as as internal or external command

Click to seen error screen shoot

How can i solve this error.

Kindly help

1

1 Answers

1
votes

add C:\Windows\System32\WindowsPowerShell\v1.0 to the environment variables Path