when i run ionic build android
i get this error -
Couldn't find ionic.config.json file. Are you in an Ionic project?
And i am in the project folder..
Anyone please?
Go to ionic.io to create a new app. Then create ionic.config.json file in your app's root folder with content like
{
"name": "your_app_name",
"app_id": "your_app_id"
}
Then run the command "ionic build android", it should work.
After the recent update to the ionic-cli look for a file,
so just rename the file named ionic.project
to ionic.config.json
I had the same problem once, all what I've come up with, is to create a new project, then replace the www folder with my own one, add all plugins. seems to fix the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With