Skip to content

AndResGuard-gradle-plugin error #57

@Engindeniz00

Description

@Engindeniz00

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions