when i run ionic build android
i get this error -
Couldn\'t find ionic.config.json file. Are you in an Ionic project?
For me, After created the project using this command : ionic start
alertDialog blank --v2
.New project was created.
first of all check whether you have ionic.config.json file is available in that project folder.But what is the issue means, I had already create one alertDialog
folder before running the command.So the directory would be MyIonic2-> alertDialog -> alertDialog.
So I removed one folder alertDialog. Now it would be MyIonic2 ->
alertDialog
fixed my issue.