Skip to content

Router is not work #20

@Luolc

Description

@Luolc

I used ./install_app.sh to install a debug app on my mobile and failed to start trending activity.

Related log:

04-11 23:03:45.627 12155-12155/com.github.piasy.octostars E/Router: com.chenenyu.router.RouterBuildConfig
04-11 23:03:45.928 12155-12155/com.github.piasy.octostars E/Router: Could not find an Activity that matches the given uri.

First line is raised when Router.initialize(). RouterBuildConfig is not generated at compile-time, then Class.forname failed.

Second line is raised when Router.build(...).go(...) at splash view. Initialization is failed and it cannot find corresponding activity.

BTW, you forgot to add Router.openLog() at https://github.com/Piasy/AndroidTDDBootStrap/blob/master/contrib/business/src/main/java/com/github/piasy/octostars/BootstrapApp.java#L96 :)

FYI: update the router version to latest (0.7.0) could help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions