This page describes the steps required to re-sign an Android app using a different app ID.
Assumptions
-
The final app ID has been shared with NAGRAVISION and the embedded player licence for that ID is included in the app.
-
apktoolis installed and available at the command line. -
An Android keystore file has been created with the name
my-release-key.keystoreand passcode123456. -
A Google Play Console account has been created.
How to re-sign the OpenTV ION Android app
-
Download the release APK.
-
From the command line, change directory into the download folder and run the following:
Bashapktool d mob-and-0.20.3.apk -
In the folder extracted in the previous step, open the
AndroidManifest.xmlfile in a text editor. -
Modify the first line to include the required
versionCode,versionName, andpackage:XML<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns: android="http://schemas.android.com/apk/res/android" android: versionCode="1" android:versionName="1" package="com.nagra.tom.uk. jado"> -
Re-package the app using the following command:
Bashapktool b mob-and-0.20.3 -o resigned.apk -
Re-sign the app using the following command:
Bashjarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore ./myrelease-key.keystore -storepass 123456 resigned.apk my-key-alias -
Upload the app to the Google Play Console and submit for review.