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 NAGRA and the embedded player licence for that ID is included in the app.
  • apktool is installed and available at the command line.
  • An Android keystore file has been created with the name my-release-key.keystore and passcode 123456.
  • A Google Play Console account has been created.

How to re-sign the ION Android app

  1. Download the release APK.
  2. From the command line, change directory into the download folder and run the following:
    apktool d mob-and-0.20.3.apk
  3. In the folder extracted in the previous step, open the AndroidManifest.xml file in a text editor.
  4. Modify the first line to include the required versionCode, versionName, and package:
    <?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">
    
  5. Re-package the app using the following command:
    apktool b mob-and-0.20.3 -o resigned.apk
  6. Re-sign the app using the following command:
    jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore ./myrelease-key.keystore -storepass 123456 resigned.apk my-key-alias
  7. Upload the app to the Google Play Console and submit for review.