Skip to content

Instantly share code, notes, and snippets.

@graffiti75
Created April 1, 2025 22:30
Show Gist options
  • Save graffiti75/196efea7bdab3edfd85fde05b2661f80 to your computer and use it in GitHub Desktop.
Save graffiti75/196efea7bdab3edfd85fde05b2661f80 to your computer and use it in GitHub Desktop.
Gradle Error in Runique project
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':run:location:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':run:location:debugCompileClasspath'.
> Could not find androidx.compose.ui:ui-tooling:.
Required by:
project :run:location
> Could not find androidx.compose.ui:ui:.
Required by:
project :run:location
> Could not find androidx.compose.ui:ui-tooling-preview:.
Required by:
project :run:location
> Could not find androidx.compose.ui:ui-graphics:.
Required by:
project :run:location
> Could not find androidx.compose.material3:material3:.
Required by:
project :run:location
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':run:location:extractDebugAnnotations'.
> Error while evaluating property 'hasAndroidAnnotations' of task ':run:location:extractDebugAnnotations'.
> Could not resolve all artifacts for configuration ':run:location:debugCompileClasspath'.
> Could not find androidx.compose.ui:ui-tooling:.
Required by:
project :run:location
> Could not find androidx.compose.ui:ui:.
Required by:
project :run:location
> Could not find androidx.compose.ui:ui-tooling-preview:.
Required by:
project :run:location
> Could not find androidx.compose.ui:ui-graphics:.
Required by:
project :run:location
> Could not find androidx.compose.material3:material3:.
Required by:
project :run:location
* 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.
==============================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment