Git Product home page Git Product logo

Comments (6)

weigao123 avatar weigao123 commented on July 27, 2024

https://blog.csdn.net/bangelua/article/details/88936610

from drouter.

oOJohn6Oo avatar oOJohn6Oo commented on July 27, 2024

https://blog.csdn.net/bangelua/article/details/88936610

最新版本问题依旧,感觉还是不能接受 ... 后续有什么规划吗?

from drouter.

oOJohn6Oo avatar oOJohn6Oo commented on July 27, 2024

https://blog.csdn.net/bangelua/article/details/88936610

最新版本问题依旧,感觉还是不能接受 ... 后续有什么规划吗?

app/build.gradle.kts 添加这个后可以解决,没做测试,不知道有什么后果。

drouter {
    incremental = false
}

from drouter.

weigao123 avatar weigao123 commented on July 27, 2024

incremental = false
仅对编译性能有一些影响,其他可以放心

from drouter.

oOJohn6Oo avatar oOJohn6Oo commented on July 27, 2024

嗯,今天本来以为可以上生产环境了,因为开发了一天都没有出现任何问题,但是...下班前又出现了

Caused by: java.lang.Exception: Class: === io.john6.sample.DemoActivity ===
Cause: javassist.NotFoundException: broken jar file?: androidx.fragment.app.FragmentActivity

我这个 DemoActivity 里并没有 import FragmentActivity,clean project,反复重新编译都不行,最后强行停止了守护进程才能重新编译。

请问有没有办法不关守护进程同时不影响编译?
同时请教下 ARouter 有相关功能吗?很好奇它是怎么做的?

from drouter.

weigao123 avatar weigao123 commented on July 27, 2024

生产环境如果编译不报错,可以先不管这个问题,didi早就生产环境好多年了,没问题的
另外搜了一下,好像有这样一个方法,我找时间再研究一下,最近刚换了业务,事情有点多
https://juejin.cn/post/6844904034776645640

from drouter.

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.