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

AndResGuard-gradle-plugin error #57

Open
Engindeniz00 opened this issue Jul 14, 2023 · 0 comments
Open

AndResGuard-gradle-plugin error #57

Engindeniz00 opened this issue Jul 14, 2023 · 0 comments

Comments

@Engindeniz00
Copy link

Issue with resolving dependency in Android Java application
I am currently developing an Android Java application and I am facing an issue related to resolving a dependency. I have cloned a software from a repository, and in the build.gradle file, I have the following configuration:
`
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.0'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}

allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}`
However, when I try to build the project, I encounter the following error:
My gradle plugin ver : 2.2.0 and gradle ver : 7.2

Could not resolve all artifacts for configuration ':classpath'.
Could not find com.tencent.mm:AndResGuard-gradle-plugin:1.2.0.
Searched in the following locations:

I believe this error is due to the inability to resolve the com.tencent.mm:AndResGuard-gradle-plugin:1.2.0 dependency. It seems that the artifact is not available in the specified repository.

To resolve this issue, I have already tried adding the necessary repository and updating the Gradle plugin version, but the problem persists.

If anyone has encountered a similar issue or has any suggestions for resolving this problem, your assistance would be greatly appreciated.

Thank you in advance for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant