Comments (5)
问题是无法解析 classpath 引入的网络依赖
- 6.7.1 版本 对应的 buildGradle 需要使用: classpath 'com.android.tools.build:gradle:4.2.0'。你确认一下。
- 是否配置
buildscript {
repositories {
// ..
mavenCentral()
}
dependencies {
classpath 'io.github.trycatchx:rocketx:1.0.4'
}
}
from rocketx.
repositories {
google()
jcenter()
mavenCentral()
maven {url 'http://developer.huawei.com/repo/'}
//友盟
maven { url 'https://repo1.maven.org/maven2/' }
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
classpath "com.tencent.android.tpns:tpnsplugin:1.7.0"
classpath 'com.huawei.agconnect:agcp:1.4.1.300'
classpath 'io.github.trycatchx:rocketx:1.0.4'
}
distributionUrl=https://services.gradle.org/distributions/gradle-6.7.1-all.zip
这是我这边的配置,gradle跟tool也有尝试过配置跟demo一样的版本,还是编译不过去
from rocketx.
implementation 'com.taobao.android:securityguardaar3:5.4.171@aar'
还有有依赖淘宝这种形式的,我不知道跟这个有没有影响,报错信息里面好像只有淘宝这几块提示错误
from rocketx.
刚刚用demo去尝试依赖淘宝这几个仓库也是报同样的错误,看来极有可能是这块的问题?
from rocketx.
@Zhusyi 使用 implementation 'com.taobao.android:securityguardaar3:5.4.94@aar' 所有版本的 aar 在 :
淘宝仓库
原因是 5.4.171 缺少了 pom.xml ,而5.4.94 不缺 pom.xml ,如果非要用 5.4.171 版本 下载 aar 依赖进入即可。
后面建议 运行有问题,先剔除 rockectx ,自身项目运行通过后再接入。
from rocketx.
Related Issues (20)
- 修改commonUI 源码依赖不生效,还是打包成aar HOT 4
- No static field xxx of type I in class Lcom/xxx/xxx/BR; HOT 1
- 请问改为发布到远端maven仓库有示例吗,需要改哪些地方呢 HOT 3
- demo 编译报错 HOT 4
- kapt: java.lang.ClassNotFoundException: com.google.gson.annotations.SerializedName HOT 1
- 使用kapt没生成对应类 HOT 1
- Cannot change dependencies of dependency configuration ':xxx:api' after it has been included in dependency resolution. HOT 1
- Execution failed for task ':xxx:kaptDebugKotlin HOT 2
- AGP 7.2.2 sync 失败 HOT 5
- Cannot change dependencies of dependency configuration ':app:implementation' after it has been included in dependency resolution. HOT 1
- 引入其他asm插桩插件导致编译失败: zip END header not found HOT 1
- a模块布局xml引用b模块资源文件会编译报错,第一次可以编译通过,之后就报错了 HOT 2
- 请教一下,这部分禁用transform任务的逻辑,有没有办法在build.gradle里面写,而不是在插件里? HOT 1
- Execution failed for task ':app:checkDevDebugAarMetadata' HOT 3
- 针对 Flutter 项目需要额外的处理吗 HOT 1
- demo编译爆错 HOT 2
- 项目是老项目,没有适配androidX,使用rocketX插件编译不了
- gradle 编译没法使用
- 目前还不支持 includeBuild
- 没有适配AndroidStudio新UI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocketx.