AabResGuard icon indicating copy to clipboard operation
AabResGuard copied to clipboard

Version 0.1.9 not published?

Open martinloren opened this issue 3 years ago • 7 comments

Could not resolve all artifacts for configuration ':classpath'. Could not find com.bytedance.android:aabresguard-plugin:0.1.9. Searched in the following locations: - https://jcenter.bintray.com/com/bytedance/android/aabresguard-plugin/0.1.9/aabresguard-plugin-0.1.9.pom - https://dl.google.com/dl/android/maven2/com/bytedance/android/aabresguard-plugin/0.1.9/aabresguard-plugin-0.1.9.pom - https://repo.maven.apache.org/maven2/com/bytedance/android/aabresguard-plugin/0.1.9/aabresguard-plugin-0.1.9.pom - file:/D:/Documents/Qsync/Android/STM32Utils/repo/aabresguard-plugin-0.1.9.jar - file:/D:/Documents/Qsync/Android/STM32Utils/repo/aabresguard-plugin.jar

martinloren avatar Apr 30 '21 01:04 martinloren

repositories加一行 maven { url "https://artifact.bytedance.com/repository/byteX/" }

singun-lxd avatar Jun 29 '21 02:06 singun-lxd

@singun-lxd that is unfortunately not working. aabresguard is not published there.

See https://artifact.bytedance.com/repository/byteX/com/bytedance/android/aabresguard-plugin/0.1.9/aabresguard-plugin-0.1.9.pom

and since jcenter.bintray.com is down it seems not to be possible anymore to get the plugin from a maven repo.

sebthom avatar Jul 12 '21 22:07 sebthom

I also got the same error

taugin avatar Jul 26 '21 06:07 taugin

Created version 0.1.10:

  1. Download: https://github.com/martinloren/mvn-repo/raw/main/AabResGuard_0.1.10.zip
  2. Unzip into C:\Users(your user name).m2\repository\
  3. You should have "com" folder under \repository\

In build.gradle file (project file):

classpath "com.bytedance.android:aabresguard-plugin:0.1.10"

Add:

repositories {
  ...
  mavenLocal()
  ...
}

It works with Gradle 7.0.0 and Android Studio Artic Fox.

martinloren avatar Aug 11 '21 04:08 martinloren

@martinloren do you modify some source for Artic Fox Version? Can you pull a request for your modification?

hwangjr avatar Aug 13 '21 04:08 hwangjr

Pull request sent, there is a method needed to remove since don't know how to configure the proper annotation for Gradle 7.0 compatibility.

martinloren avatar Aug 14 '21 01:08 martinloren

@martinloren thanks a lot.

hwangjr avatar Aug 14 '21 02:08 hwangjr