bytedance / AabResGuard

The tool of obfuscated aab resources.(Android app bundle资源混淆工具)
Apache License 2.0
1.3k stars 179 forks source link

Version 0.1.9 not published? #56

Open martinloren opened 3 years ago

martinloren commented 3 years ago

Could not resolve all artifacts for configuration ':classpath'. Could not find com.bytedance.android:aabresguard-plugin:0.1.9. Searched in the following locations:

singun-lxd commented 3 years ago

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

sebthom commented 2 years ago

@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.

taugin commented 2 years ago

I also got the same error

martinloren commented 2 years ago

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.

hwangjr commented 2 years ago

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

martinloren commented 2 years ago

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.

hwangjr commented 2 years ago

@martinloren thanks a lot.