Troubleshooting and reference
Build, signing and upload errors, plus the identifiers worth writing down once.
Build errors
All of these come from custom_build/build.sh, which checks your configuration before
building. Run ./build.sh -v to repeat the checks without building.
"Missing required variables in config/custom.properties"
One of APPLICATION_ID, APP_NAME, VERSION_CODE or VERSION_NAME is blank.
Fill them in.
"Invalid APPLICATION_ID package name"
A package name may only contain letters, digits and underscores, in dot-separated segments
that do not start with a digit. Hyphens are a common culprit: com.acme.my-app is invalid,
com.acme.my_app is fine.
"Missing icon resource directories"
custom_build/config/android or custom_build/config/androidtv does not exist. Copy both
folders from IconKitchen's output — see
icon and TV banner.
"Java NN is too new for this project's Gradle"
The project's Gradle supports Java up to version 21. Point JAVA_HOME at a supported JDK
before building, for example on a Mac:
export JAVA_HOME=$(/usr/libexec/java_home -v 21)
"REFUSING TO BUILD: '…' is tracked by git"
A keystore or signing.properties has been committed, so your signing key would be
published on your next push. Remove it from git, keeping the file on disk:
git rm --cached <path-to-file>
If it was already pushed, treat the key as compromised. With Play App Signing, the account owner can ask Google to reset the upload key with Request reset on the App signing page; generate a new key first.
"Refusing to debug-sign non-interactively"
There is no signing configuration, and the build was run somewhere it cannot ask you to confirm a debug-signed build. Set up an upload key.
Install errors
"Built, but 'adb' isn't on your PATH"
The build worked; only the install step failed. Add the Android SDK's platform-tools
folder to your PATH, or install the APK from build_output/ some other way.
The app does not appear on the TV home screen
Check the Apps row, or Settings → Apps. Then confirm the banner exists in
custom_build/config/androidtv/res/ — without one, some launchers show the app poorly or
not at all.
INSTALL_FAILED_UPDATE_INCOMPATIBLE
A build of the same package name, signed with a different key, is already installed. Usually
this is a sideloaded tv-release.apk meeting a Google Play install, or the other way round.
Uninstall the existing app and try again.
Upload errors
"Version code N has already been used"
Bump VERSION_CODE
and rebuild. Version codes must strictly increase across all uploads, on every track.
"You uploaded an APK or Android App Bundle that was signed in debug mode"
The build used the debug keystore. Set up an upload key and rebuild.
"Your Android App Bundle is signed with the wrong key"
The bundle was signed with a key other than the app's registered upload key — often a second machine with its own keystore. Use the original upload key, comparing its fingerprint against the one you recorded. If the key is genuinely lost, the account owner can request an upload key reset.
The package name is taken, or the bundle's package name doesn't match
Package names are unique across all of Google Play, and Check availability on the Create app form tells you if yours is taken. Choose a different one. If it is an existing app of yours in another developer account, you need to transfer it rather than create it again.
If an upload is rejected because the package name is wrong, APPLICATION_ID in
custom.properties doesn't match the package name the app was created with. Fix the
property and rebuild — the app's package name cannot be changed.
The app is not available on TVs, or testers cannot find it
Check Test and release → Advanced settings → Form factors. Android TV must be added as a form factor, and for production, opted in and reviewed until it shows Active.
Identifiers to keep track of
Fill this in for your own records. You will be asked for these repeatedly.
| Item | Where to find it |
|---|---|
| Developer account ID | Play Console → Developer account |
Package name (APPLICATION_ID) | custom_build/config/custom.properties, and the app's Play Console dashboard |
| Upload key: keystore, alias and passwords | Your password manager |
| Upload and app signing key fingerprints | Play Console → Protected with Play → Manage Play app signing |
| D-U-N-S number | Your D&B record |
| Account owner email | Your password manager |
| Eluvio property ID | Creator Studio → Media Properties |
Reference links
Accounts and access
- Create a Play Console developer account
- Required information to create a developer account
- Add developer account users and manage permissions
Building and signing
Testing and Android TV
Submission