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

dryrun tries to launch a non-launcher activity #30

Closed
dvoiss opened this issue Apr 26, 2016 · 0 comments
Closed

dryrun tries to launch a non-launcher activity #30

dvoiss opened this issue Apr 26, 2016 · 0 comments

Comments

@dvoiss
Copy link
Contributor

dvoiss commented Apr 26, 2016

Using the project Android-CleanArchitecture I receive the following error:

dryrun https://github.com/android10/Android-CleanArchitecture -m presentation

executing: adb shell am start -n "com.fernandocejas.android10.sample.presentation/
com.fernandocejas.android10.sample.presentation.view.activity.UserDetailsActivity" -a
android.intent.action.MAIN -c android.intent.category.LAUNCHER

Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
  cmp=com.fernandocejas.android10.sample.presentation/.view.activity.UserDetailsActivity }
java.lang.SecurityException: Permission Denial: starting Intent 
  { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 
  cmp=com.fernandocejas.android10.sample.presentation/.view.activity.UserDetailsActivity }
  from null (pid=1248, uid=2000) not exported from uid 10235

It is trying to launch UserDetailsActivity which is the last activity specified in the manifest, but is not a launcher activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants