I am very new to Ionic 3 app development and am trying to build an Android app with it. I want to run the app in Visual Studio emulator and am getting the below error while running ‘cordova build android’ command. Please help with it! Thanks in advance!
**C:\Devlopment ionic\sample\sampleapp>cordova build android
The system cannot find the path specified.
Error: cmd: Command failed with exit code 1**
You didn’t install Android with all its dependencies correctly. Does
C:\Program Files\Java\jdk1.8.0_131 exist?
In general it is better and easier to install all that stuff by just installing Android Studio.
Yes this file C:\Program Files\Java\jdk1.8.0_131 exist, about the android I install it, but I add some version of the android 26 to 22
This shouldn’t be a file but a folder.
I suggest you install Android Studio as this will take care of most of this automatically.
I did I install the android has is like you say but still the same issued I don’t know is a version issued
this is my versions
1 java version "1.8.0_131"
2 node v6.11.0
3 ionic 3.4.0
4 cordova 7.0.1
dir "C:\Program Files\Java\jdk1.8.0_131" and give us the output.
So sorry I am new in all this in the console of windows you mean ???
Yes, where you also were running the
well I fix I, format mi pc install all back now is working thanks you