Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module内无法正常跳转,跳转的话就会提示have you declared this activity in your AndroidManifest.xml #140

Closed
VeryCure opened this issue Jan 13, 2024 · 3 comments
Labels
invalid This doesn't seem right

Comments

@VeryCure
Copy link

你好,我的应用无法在Module内部使用Therouter跳转,我想是不是因为module的类型是library,无法使用therouter这个plugin才导致这个无法跳转的呢?
android.content.ActivityNotFoundException: Unable to find explicit activity class {com....Activity}; have you declared this activity in your AndroidManifest.xml? at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2112) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1770) at android.app.ContextImpl.startActivity(ContextImpl.java:1087) at android.content.ContextWrapper.startActivity(ContextWrapper.java:443) at com.therouter.router.Navigator$navigation$5.invoke(Navigator.kt:521) at com.therouter.router.Navigator$navigation$5.invoke(Navigator.kt:477) at com.therouter.router.NavigatorKt$routerInterceptor$1.invoke(Navigator.kt:593) at com.therouter.router.NavigatorKt$routerInterceptor$1.invoke(Navigator.kt:592) at com.therouter.router.Navigator.navigation(Navigator.kt:477) at com.therouter.router.Navigator.navigation(Navigator.kt:422) at com.therouter.router.Navigator.navigation(Navigator.kt:417) at com.therouter.router.Navigator.navigation$default(Navigator.kt:416)

@kymjs kymjs added the invalid This doesn't seem right label Jan 17, 2024
@kymjs
Copy link
Collaborator

kymjs commented Jan 17, 2024

没注册

@kymjs kymjs closed this as completed Jan 17, 2024
@VeryCure
Copy link
Author

但是Activity确实已经添加到AndroidManifest.xml中了

@kymjs
Copy link
Collaborator

kymjs commented Feb 5, 2024

哪个APP,有没有登记 #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants