02a_Change_APK_Name_Icon

Step 1 : Edit config.xml

Change the red colour below to blue color with any word.

Before:
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>MyApp</name>
    <description>An awesome Ionic/Cordova app.</description>
    <author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>


After:
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.Alert" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>03_Alert_Action</name>
    <description>An awesome Ionic/Cordova app.</description>
    <author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>

 

Step 2 : Remove folder android under Platform folder

Make sure you closed any folder/ explorer of your app location.

Type this command:

ionic cordova platform rm android

Step 3 : Add folder android under Platform folder

Type this command:

ionic cordova platform add android


Step 4 : If you want to change the ICON and Splash

  1. Download any icon.png but the size should be : 1024 x 1024
  2. Download any splash.png but the size should be : 1920 x 1920 or 2732x 2732
  3. Put in the folder resources of you app folder.

The example is like below:


Step 4 : Run resources

Type this command:

ionic cordova resources android --force

Step 5 : Build the android

Type this command:

ionic cordova build android