Giter Site home page Giter Site logo

Comments (4)

chenenyu avatar chenenyu commented on June 2, 2024

感谢反馈,我试下

from router.

chenenyu avatar chenenyu commented on June 2, 2024

测试没有发现这个问题,1.1.0和1.1.1都可以的。而且startup库是自带混淆的,如果你不放心,可以手动keep一下startup库的所有代码

from router.

artharyoung avatar artharyoung commented on June 2, 2024

抱歉,是AGP 7.2.1 的问题,降到7.1.3没问题了。

from router.

artharyoung avatar artharyoung commented on June 2, 2024

编译成功打开APP,但是路由跳转时会闪退。新建一个demo单独接入又没法复现。Google搜了一下应该是R8的bug,但是不知道是哪个类引起的,加了一条混淆过滤,暂时解决了。AGP的坑真的多

-keep class com.chenenyu.router.matcher.** { *; }

错误日志:
java.lang.AbstractMethodError: abstract method "boolean p2.g.a(android.content.Context, android.net.Uri, java.lang.String, com.chenenyu.router.RouteRequest)"
at o2.f.a(IntentProcessor.java:34)
at m2.e.b(RealInterceptorChain.java:7)
at o2.g.a(IntentValidator.java:9)
at m2.e.b(RealInterceptorChain.java:7)
at o2.c.a(BaseValidator.java:11)
at m2.e.b(RealInterceptorChain.java:7)
at m2.f.h(RealRouter.java:4)
at m2.f.b(RealRouter.java:1)

出错的位置在com.chenenyu.router.matcher.Matcher接口的match方法

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.