ionic change android class name

You have to follow following steps:

1. Change in AndroidMnifest.xml

<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="SoftwareCostEstimation" android:theme="@android:style/Theme.Black.NoTitleBar" android:windowSoftInputMode="adjustResize">

2. Change in build.xml

<project name="SoftwareCostEstimation" default="help">

3. Change the name of file and class name

Change the CordovaApp.java to SoftwareCostEstimation.java

and don't forget to change the name of class like:

public class SoftwareCostEstimation extends CordovaActivity

Run ionic build android

Doing this your generated apk name will be changed according to project name.

ionic change application package name

Go to config.xml and change the value of id attribute like:

<widget id="com.bospp.softwarecostestimation" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
  <name>SoftwareCostEstimation</name>
  <description>
        An Software Cost Estimation App
    </description>
  <author email="rahul@bospp.com" href="http://bospp.com/">
      Rahul Jain
    </author>

...
...
...

</widget>

After changing values you have to run ionic build android command.

Also you can change other values like email, author etc.