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

是否有计划支持AGP8+ #525

Open
5peak2me opened this issue Aug 22, 2023 · 13 comments
Open

是否有计划支持AGP8+ #525

5peak2me opened this issue Aug 22, 2023 · 13 comments

Comments

@5peak2me
Copy link

RT

@ywisax
Copy link

ywisax commented Jun 14, 2024

+1

@TheMelody
Copy link

@TheMelody
Copy link

@lhjgege
Copy link

lhjgege commented Jul 12, 2024

照着他的文档依赖不下来

RT

https://github.com/lalakii/AndResGuard?tab=readme-ov-file

@TheMelody
Copy link

照着他的文档依赖不下来

RT

https://github.com/lalakii/AndResGuard?tab=readme-ov-file

好像是你gradle配置问题,我一开始也下载不下来

@lhjgege
Copy link

lhjgege commented Jul 12, 2024

你是怎么依赖下来的。

照着他的文档依赖不下来

RT

https://github.com/lalakii/AndResGuard?tab=readme-ov-file

好像是你gradle配置问题,我一开始也下载不下来

@lhjgege
Copy link

lhjgege commented Jul 12, 2024

image
image
image

@lhjgege
Copy link

lhjgege commented Jul 12, 2024

image

@lhjgege
Copy link

lhjgege commented Jul 12, 2024

不知道哪里有问题了

@TheMelody
Copy link

我是这样做的,你可以自己试试哦

plugins {
    id("cn.lalaki.AndResGuard") version "1.3.8-beta01" apply false
}
pluginManagement {
    repositories {
        gradlePluginPortal()
        maven(url = "https://mirrors.tencent.com/nexus/repository/maven-public/")
        maven(url = "https://maven.aliyun.com/repository/public/")
        maven(url = "https://repo1.maven.org/maven2/")
        maven(url = "https://oss.sonatype.org/content/repositories/public")
        google()
        mavenCentral()
        maven(url = "https://jitpack.io")
        maven(url = "https://plugins.gradle.org/m2/")
        maven(url = "https://repo1.maven.org/maven2/")
    }
}

然后在app的build.gradle中配置如下

andResGuard {
    // 其他配置,自己参考文档
    sevenzip {
        artifact = "cn.lalaki.AndResGuard:SevenZip:1.3.8-beta01"
    }
}

@TheMelody
Copy link

不知道哪里有问题了

发在上面了,你自己看一下哦

@duweiwang
Copy link

classpath("cn.lalaki.AndResGuard:cn.lalaki.AndResGuard.gradle.plugin:1.5.1-final")

@lalakii
Copy link

lalakii commented Sep 20, 2024

不知道哪里有问题了

我传的mavenCentral(),不是jitpack.io

可以直接导入到Android Studio, 它本身包含了demo,编译会生成一个apk Demo

git clone https://github.com/lalakii/AndResGuard.git

可以试着运行一下看看效果

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

6 participants