Git Product home page Git Product logo

Comments (3)

Jeffery336699 avatar Jeffery336699 commented on August 19, 2024

1、根据提示我添加app模块添加asm7依赖之后并且注释掉依赖的两个library后就可以编译运行,但是不知道为什么why(Ps:依赖的两个module仅仅作为startup的演示module)

dependencies{  // app module
         implementation 'org.ow2.asm:asm:7.0'
//    implementation project(path: ':testA')
//    implementation project(path: ':testB')
}
dependencies{  // testA module
         implementation "androidx.startup:startup-runtime:1.1.0"
}

2、如果取消testA、testB的注释就会编译报错

Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':testA:androidApis'.

from aosp-android-jar.

Reginer avatar Reginer commented on August 19, 2024

母鸡呀,我能想到的可能是你的AS版本和这个jar对不上,当时我用这个jar的时候是使用的当时AS最新版,也许你升级下AS可以解决。或者你使用33编译

from aosp-android-jar.

Jeffery336699 avatar Jeffery336699 commented on August 19, 2024

@Reginer 感谢你的回复,我改为使用33的android.jar,一切都很好💖

from aosp-android-jar.

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.