Git Product home page Git Product logo

Comments (5)

trycatchx avatar trycatchx commented on July 28, 2024

问题是无法解析 classpath 引入的网络依赖

  1. 6.7.1 版本 对应的 buildGradle 需要使用: classpath 'com.android.tools.build:gradle:4.2.0'。你确认一下。
  2. 是否配置
buildscript {
    repositories {
    // ..
        mavenCentral()
    }

    dependencies {
        classpath 'io.github.trycatchx:rocketx:1.0.4'
    }
}

from rocketx.

Zhusyi avatar Zhusyi commented on July 28, 2024

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.

Zhusyi avatar Zhusyi commented on July 28, 2024

implementation 'com.taobao.android:securityguardaar3:5.4.171@aar'
还有有依赖淘宝这种形式的,我不知道跟这个有没有影响,报错信息里面好像只有淘宝这几块提示错误

from rocketx.

Zhusyi avatar Zhusyi commented on July 28, 2024

刚刚用demo去尝试依赖淘宝这几个仓库也是报同样的错误,看来极有可能是这块的问题?

from rocketx.

trycatchx avatar trycatchx commented on July 28, 2024

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.