Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error: Could Not Find Dependency 'in.gauriinfotech:commons:1.0.8 #1672

Open
Kaleem2323 opened this issue Jan 7, 2025 · 0 comments
Open
Labels
new issue An issue that hasn't yet been seen from the maintainer

Comments

@Kaleem2323
Copy link

Issue Summary

I am encountering a build error when trying to resolve the dependency in.gauriinfotech:commons:1.0.8. The build system cannot locate this artifact, causing the project build to fail.

Error Message

arduino
Copy code
Could not find in.gauriinfotech:commons:1.0.8.
Required by:
project :app
Steps to Reproduce
Add the following line to the dependencies block in app/build.gradle:
gradle
Copy code
implementation 'in.gauriinfotech:commons:1.0.8'
Sync Gradle or build the project.
The build fails with the above error.
Environment Details
Android Studio Version: Android Studio Koala | 2024.1.1
Build #AI-241.15989.150.2411.11948838, built on June 11, 2024
Runtime version: 17.0.10+0-17.0.10b1087.21-11609105 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
OS: Linux 6.8.0-51-generic
Desktop: Ubuntu GNOME
Gradle Version: 7.0.1
JDK Version: Java 8 (sourceCompatibility JavaVersion.VERSION_1_8, targetCompatibility JavaVersion.VERSION_1_8)
Plugins Installed:
Dart: 241.18808
Flutter: 82.1.2
JSON to Kotlin: 3.7.5
Troubleshooting Steps Tried
Verified the implementation statement in build.gradle for correctness.
Searched for the dependency on popular repositories (e.g., Maven Central, JitPack, etc.) but could not find it.
Cleaned and rebuilt the project using:
bash
Copy code
./gradlew clean build
Verified repository settings in the repositories block.
Build Configuration
Root build.gradle:

gradle
Copy code
buildscript {
repositories {
google()
mavenCentral()
jcenter() // Deprecated but still listed for legacy support
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.1'
}
}

@Kaleem2323 Kaleem2323 added the new issue An issue that hasn't yet been seen from the maintainer label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue An issue that hasn't yet been seen from the maintainer
Projects
None yet
Development

No branches or pull requests

1 participant