Mango Juice Tech
← Procedures & Documentation

DEVELOPMENT REFERENCE

Issues & lessons learned

A living troubleshooting record: what failed, why, how it was corrected, and what to check next time.

MangoPilot 1.1.1 — Pro merge compilation failure

Symptoms: SettingsScreen argument mismatch and unresolved R.string.pro_* references during :app:compileDebugKotlin.

Cause: The Pro branch reconciliation omitted updated SettingsScreen.kt and the Pro strings in strings.xml.

Fix: Restore the Pro-enabled SettingsScreen parameters/UI and all referenced string resources. Re-run Kotlin compilation; BUILD SUCCESSFUL was confirmed on October 8, 2026.

Prevention: Compile the merged branch before preparing an AAB; compare changed files from feature branches during reconciliation.


MangoPilot — JAVA_HOME not set

Symptoms: Gradle reports JAVA_HOME is not set and no 'java' command could be found in PATH.

Fix: Use Android Studio's bundled JDK if installed: $env:JAVA_HOME="C:\Program Files\Android\Android Studio\jbr" and $env:Path="$env:JAVA_HOME\bin;$env:Path" in the current PowerShell session.

Prevention: Run java -version before invoking Gradle from a new terminal.


Google Play — reused version code

Symptoms: Play Console rejects an AAB because the version code was already used.

Fix: Increase versionCode to a previously unused integer, rebuild and sign again.

Prevention: Maintain an app-specific release ledger and verify code numbers before upload.


Google Play — product or regional availability

Symptoms: A Pro product is unavailable, or a tester in another country cannot install an app.

Checks: Confirm the AAB has Billing permission, Play has processed the upload, the one-time product and purchase option are active, regional availability is configured, and the tester is enrolled in the appropriate track.

Prevention: Verify country availability for both the app and paid product and test using eligible Play accounts.



Google Play — one-time product image rejected

App / date: MangoPilot Pro, October 2026.

Symptoms: The initially generated product artwork was not accepted by Google Play Console.

Requirements: A unique and accurate image for the product; no text, promotions, or branding. File must be a 32-bit PNG, under 8 MB, square (1:1), with each side between 512 and 1080 pixels.

Verified fix: Convert the generated artwork to a 512 × 512 pixel, 32-bit RGBA PNG. The corrected file was approximately 343 KB and was successfully accepted by Google Play Console, as confirmed by the developer.

Prevention: Do not upload raw image-generation output directly. Export and verify PNG format, RGBA channels, square dimensions, and file size before uploading. If rejection continues despite correct technical specifications, inspect the exact Play Console message and review image-content restrictions.

How to record a new issue

For each incident record: date · app/version · symptom/error text · environment · root cause (confirmed or unknown) · correction · verification result · prevention. Distinguish suspected causes from confirmed fixes.

These are internal development notes, not a public support knowledge base. Avoid recording passwords, API keys, signing credentials, personal tester information, or private account data.