[PATCH 1/1] configure: fail early on invalid Gradle/SDK and cache Android build tools