AndroidTDDBootStrap icon indicating copy to clipboard operation
AndroidTDDBootStrap copied to clipboard

Router is not work

Open Luolc opened this issue 8 years ago • 1 comments

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.

Luolc avatar Apr 11 '17 15:04 Luolc

Sorry that I was too busy these days, I'll try to take a look into it maybe a week later :)

Piasy avatar Apr 17 '17 00:04 Piasy