Fix “buildOutput.apkData must not be null” Safely
The internal `buildOutput.apkData must not be null` exception belongs mainly to older Android Studio 3.5-era builds. A project-local clean often repaired stale APK metadata, but modern diagnosis should first identify the exact Gradle wrapper, Android Gradle Plugin, JDK, IDE, task, and plugin combination.