Closed Dwan-xie closed 7 years ago
Could not resolve all dependencies for configuration '::AndResGuardLocatorSevenZip'. Could not find com.tencent.mm:SevenZip:1.2.3. Searched in the following locations: file:/F:/Android/extras/m2repository/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3.pom file:/F:/Android/extras/m2repository/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3-windows-x86_64.exe file:/F:/Android/extras/google/m2repository/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3.pom file:/F:/Android/extras/google/m2repository/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3-windows-x86_64.exe file:/F:/Android/extras/android/m2repository/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3.pom file:/F:/Android/extras/android/m2repository/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3-windows-x86_64.exe https://jcenter.bintray.com/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3.pom https://jcenter.bintray.com/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3-windows-x86_64.exe https://jitpack.io/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3.pom https://jitpack.io/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3-windows-x86_64.exe https://repo1.maven.org/maven2/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3.pom https://repo1.maven.org/maven2/com/tencent/mm/SevenZip/1.2.3/SevenZip-1.2.3-windows-x86_64.exe Required by: project : @simpleton I can't sync 7Zip with version-1.2.3, but 1.2.0 works fine.
@Dwan-xie @devwangxiaogang sorry for this issue. Please add maven { url 'https://dl.bintray.com/simsun/maven' }
in your repositories as a workaround.
I'll fix it in few hours.
it's working now~
`Task 'resguard' is ambiguous in root project 'XXX'. Candidates are: 'resguardDebug', 'resguardXXX', 'resguardXXXDebug', 'resguardXXXRelease', 'resguardRelease'```
gradlew resguard release XXX
请问是什么原因
搞事情
Will change back to jcenter in future?
Yep, we will change back when jcenter approves our new accounts request.
On Jul 20, 2017 4:52 PM, "Dwan-xie" notifications@github.com wrote:
Will change back to jcenter in future?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shwenzhang/AndResGuard/issues/173#issuecomment-316640247, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbvYmAAOUCUGAQOv-97HIVTtOEXU3pBks5sPxVWgaJpZM4Odj3X .
maven{ url 'https://dl.bintray.com/wemobiledev/maven'}
com.tencent.mm:AndResGuard-gradle-plugin:1.2.13
对的啊,所以用上面的仓库没有用:
https://dl.bintray.com/simsun/maven/com/tencent/mm/AndResGuard-gradle-plugin/
后来没有使用 maven { url 'https://dl.bintray.com/simsun/maven' }
这个issue很早都close了,maven { url 'https://dl.bintray.com/simsun/maven' }
只是一个临时方案,现在不再需要了。
On Tue, May 29, 2018 at 4:25 AM, yan_lu notifications@github.com wrote:
对的啊,所以用上面的仓库没有用:
https://dl.bintray.com/simsun/maven/com/tencent/mm/ AndResGuard-gradle-plugin/
后来没有使用 maven { url 'https://dl.bintray.com/simsun/maven' }
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/shwenzhang/AndResGuard/issues/173#issuecomment-392742764, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbvYurXhIoDo7IidBQbD0PrukEaUUt2ks5t3TAWgaJpZM4Odj3X .
Hi, i was facing this issue since 3 days and not able to resolve since i was getting this error continuously
===========
Could not resolve all task dependencies for configuration ':classpath'. Could not find com.tencent.mm:AndResGuard-gradle-plugin:1.2.0. Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/tencent/mm/AndResGuard-gradle-plugin/1.2.0/AndResGuard-gradle-plugin-1.2.0.pom
- https://repo.maven.apache.org/maven2/com/tencent/mm/AndResGuard-gradle-plugin/1.2.0/AndResGuard-gradle-plugin-1.2.0.pom
- https://jitpack.io/com/tencent/mm/AndResGuard-gradle-plugin/1.2.0/AndResGuard-gradle-plugin-1.2.0.pom
https://maven.fabric.io/public/com/tencent/mm/AndResGuard-gradle-plugin/1.2.0/AndResGuard-gradle-plugin-1.2.0.pom Required by: project :
then at last i started serching the url which can give me AndResGuard-gradle-plugin-1.2.0.pom file instead of 404 error
i go through multiple links and then i found a link - https://repo1.maven.org/maven2/io/github/leon406/AndResGuard-gradle-plugin/1.2.22.6/AndResGuard-gradle-plugin-1.2.22.6.pom
which was returning some piece of code instead of 404
i implemented it like this in my code project level build.gradle file
=========== // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { ext { buildToolsVersion = "33.0.0" minSdkVersion = 21 compileSdkVersion = 33 targetSdkVersion = 33
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
}
repositories {
jcenter()
google()
mavenCentral() // --> Ensure this is included for the plugin dependency
maven { url 'https://maven.fabric.io/public' }
dependencies {
classpath("com.android.tools.build:gradle:7.2.1")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath 'com.google.gms:google-services:4.3.15'
// Corrected AndResGuard plugin dependency
classpath 'io.github.leon406:AndResGuard-gradle-plugin:1.2.22.6' // Use exact version from Maven Central
}
} ================= and it worked
i hope it will work for you as well thanks
Error:Could not find com.tencent.mm:AndResGuard-gradle-plugin:1.2.3. Searched in the following locations: https://repo1.maven.org/maven2/com/tencent/mm/AndResGuard-gradle-plugin/1.2.3/AndResGuard-gradle-plugin-1.2.3.pom https://repo1.maven.org/maven2/com/tencent/mm/AndResGuard-gradle-plugin/1.2.3/AndResGuard-gradle-plugin-1.2.3.jar https://jcenter.bintray.com/com/tencent/mm/AndResGuard-gradle-plugin/1.2.3/AndResGuard-gradle-plugin-1.2.3.pom https://jcenter.bintray.com/com/tencent/mm/AndResGuard-gradle-plugin/1.2.3/AndResGuard-gradle-plugin-1.2.3.jar