-
Notifications
You must be signed in to change notification settings - Fork 356
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
不会用,新版Android studio的根目录build.gradle就三行代码 #161
Comments
问题解决了吗?新版中怎么用? |
没有呢,不知道新版本咋用 |
我是这样用的
目前编译通过,反编译后看加解密生效 |
感谢,等一下我试试 |
新版Android studio的根目录build.gradle里面代码如下:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
alias(libs.plugins.android.application) apply false
}
就这个多
1、在根目录build.gradle中引入插件依赖。
buildscript {
repositories {
mavenCentral()
}
dependencies {
...
classpath 'com.github.megatronking.stringfog:gradle-plugin:5.2.0'
// 选用加解密算法库,默认实现了xor算法,也可以使用自己的加解密库。
classpath 'com.github.megatronking.stringfog:xor:5.0.0'
}
} 这些内容加在这里不对吧,可是我在别的文件里也没找到buildscript,这一步就不会用了
The text was updated successfully, but these errors were encountered: