Sign a previously signed application
You can sign an application only once per a build ID. If you have previously signed your application, you must increment the build ID of your application before you can sign your application again.
To increment the version number:
-
Open the bar-descriptor.xml file of your application.
-
Locate and increment the value of the buildId element.
-
Repackage your application.