`FAILURE: Build failed with an exception.` * What...
# android
a
FAILURE: Build failed with an exception.
* What went wrong: Could not determine the dependencies of task 'appcompileDebugJavaWithJavac'.
Failed to install the following SDK components:
tools Android SDK Tools platforms;android-31 Android SDK Platform 31 build-tools;29.0.2 Android SDK Build-Tools 29.0.2 Install the missing components using the SDK manager in Android Studio. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 26m 44s Running Gradle task 'assembleDebug'... [!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
🧵 1
c
Have you tried what the message suggests?
Copy code
Install the missing components using the SDK manager in Android Studio.
if that message comes from CI/CD environments where you only have access via CLI perhaps you could try ssh-ing and try to manually download the missing components.