robustly construct the APK generator URL