This project uses a properties file to configure APK signing, which allows for secure credential management while keeping the build configuration flexible.
Copy the template file and fill in your actual values:
cp tv/signing.properties.template tv/signing.propertiesUpdate the file with your actual keystore information:
# Path to your keystore file (relative to project root)
storeFile=../localSigningKey.jks
# Your keystore password
storePassword=your_actual_keystore_password
# Your key alias
keyAlias=your_actual_key_alias
# Your key password
keyPassword=your_actual_key_passwordMake sure your keystore file exists at the specified path. The default path assumes localSigningKey.jks is located one directory above the project root.
signing.propertiesis automatically ignored by git (added to .gitignore)- The template file (
signing.properties.template) can be committed to git - For CI/CD environments, you can use environment variables instead:
KEYSTORE_PASSWORDKEY_ALIASKEY_PASSWORD
Debug builds use a default debug keystore that will be generated automatically.
Release builds will use the signing configuration from signing.properties:
# Build direct release variant
./gradlew assembleDirectRelease
# Build play release variant
./gradlew assemblePlayReleaseIf you encounter signing issues:
- Verify the keystore file path is correct
- Check that passwords and aliases match your keystore
- Ensure the keystore file is accessible from the project directory
- For CI/CD, verify environment variables are set correctly