Coder Social home page Coder Social logo

Comments (13)

chenenyu avatar chenenyu commented on June 3, 2024

方便贴下module里的清单文件吗?

from router.

Reign9201 avatar Reign9201 commented on June 3, 2024

对应报错的module,AndroidManifest文件里,是空的:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.xxx.sleep.data">

</manifest>

from router.

chenenyu avatar chenenyu commented on June 3, 2024

试过1.8.2版本没?

from router.

Reign9201 avatar Reign9201 commented on June 3, 2024

已换成1.8.2版本,这个版本没问题

from router.

Reign9201 avatar Reign9201 commented on June 3, 2024

不过,集成到1.8.2之后,出现下面的问题。。。
image

from router.

chenenyu avatar chenenyu commented on June 3, 2024

image

方便贴下module下的这两个文件吗

from router.

Reign9201 avatar Reign9201 commented on June 3, 2024

还没生成这两个文件就编译终止了
image
复现步骤,一个module使用1.8.2生成aar包,然后集成到主工程,再编译就出现此问题了

from router.

chenenyu avatar chenenyu commented on June 3, 2024

你是先把把module生成aar,然后再集成到主工程吗? 我还没测试过这种方式,依赖1.8.2生成aar的过程是ok的,然后编译主工程的时候报错了是吧?能看下aar里面的manifest吗?

from router.

Reign9201 avatar Reign9201 commented on June 3, 2024

image

from router.

chenenyu avatar chenenyu commented on June 3, 2024

好的,我等下测试下这种使用场景

from router.

Reign9201 avatar Reign9201 commented on June 3, 2024

这里还有个问题,因为之前一直使用的是1.7.5版本,发现这个版本经常出现路由失效问题,断点发现这部分返回null了
image
实际上路由表是存在的

from router.

Reign9201 avatar Reign9201 commented on June 3, 2024

尝试了module使用1.7.5版本,主工程使用1.8.0版本,没有出现上述报错了,但发现这两个版本是不兼容的,1.8.0以上版本看源码是通过下面方式注入的:
image
但1.7.5版本在编译之后其实是没有生成meta-data的,导致module里面的路由表都不会被注入进去,不知道我这理解对不对

from router.

chenenyu avatar chenenyu commented on June 3, 2024

请试下1.8.3-beta1

from router.

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.