Customize apk file

I created a app with cordova and ionic framework and now I want to change icon and name of app, how I can do this?
thank u for your answers

You can change the name by editing your config.xml file. The icons and splashscreen can be generated using the CLI,

After I run this command in command prompt windows and successfully executed this command but when I want to install my app on emulator my app stopped,why?

You need to be more specific. Which command? What errors are you getting? Generating the icons and naming your app should have no troubling affects.

This command “ionic resources --icon”

If you want test my project and I want to send you my project and solve it!