Git Product home page Git Product logo

Comments (3)

trycatchx avatar trycatchx commented on July 28, 2024

@972223177 你好,如果这两个 <activity/> 申明是在子 module(非 app module) 中的,你可以尝试把这两个迁移到 app moduleandroidManifest.xml,再进行编译。 因为 子module 打成 aar 之后 replace 属性会丢失

from rocketx.

972223177 avatar 972223177 commented on July 28, 2024

@972223177 你好,如果这两个 <activity/> 申明是在子 module(非 app module) 中的,你可以尝试把这两个迁移到 app moduleandroidManifest.xml,再进行编译。 因为 子module 打成 aar 之后 replace 属性会丢失

谢谢!有效!但是请问有其他办法解决这样的问题吗,我们希望appModule尽量保持干净

from rocketx.

trycatchx avatar trycatchx commented on July 28, 2024

@972223177 你查看readme ,有一个excludeModule属性,直接强制指定模块不打成aar (速度可能有略微影响,具体看模块大小)。 目前这一个问题,还没有想到较完美的方案,需要不断探索。
如果你有好的想法,欢迎给我们提pr

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.