Coder Social home page Coder Social logo

demo运行无法正常跳转 about arouter HOT 4 CLOSED

alibaba avatar alibaba commented on May 2, 2024
demo运行无法正常跳转

from arouter.

Comments (4)

zhi1ong avatar zhi1ong commented on May 2, 2024

demo是否正常运行呢?

01-13 15:25:06.529 30616-30616/com.alibaba.android.arouter.demo D/galaxy: Filter 0 classes by packageName <com.alibaba.android.arouter.routes>

看上面日志,没有扫描到任何映射文件,可能映射文件没有生成,也可能是设置了混淆,但是没有添加keep规则,没有生成映射文件的话,要看一下 #5 里面提到的排查办法

from arouter.

jasonfresher avatar jasonfresher commented on May 2, 2024

demo运行不正常,#5里有一个人跟我的情况一样,只有build apk文件,再安装,就可以跳转了,但是用as直接run的话会无法跳转

from arouter.

zhi1ong avatar zhi1ong commented on May 2, 2024

直接run也是会打成apk的,但是要是Instant Run的话,会直接改变化的内容,生成文件不会进去,你可以确认一下是不是开了Instant Run,涉及到这种生成代码的情况,要完全build安装

from arouter.

jasonfresher avatar jasonfresher commented on May 2, 2024

谢了,确实是开启了Install Run就会导致无法生成映射文件不能跳转,关闭一下就ok了

from arouter.

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.