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

--activity-brought-to-front breaks things #82

Closed
chrisdjali-wrld3d opened this issue Mar 26, 2020 · 1 comment · Fixed by #84
Closed

--activity-brought-to-front breaks things #82

chrisdjali-wrld3d opened this issue Mar 26, 2020 · 1 comment · Fixed by #84

Comments

@chrisdjali-wrld3d
Copy link

To make my app launch properly, I have to remove '--activity-brought-to-front' from

var launchcmdparams = ['--activity-brought-to-front', '-a android.intent.action.MAIN', '-c android.intent.category.LAUNCHER', '-n ' + this.session.build.pkgname + '/' + launcherActivity];
. If I don't, as soon as it's finished waiting for the debugger to attach, the app minimises.

I narrowed down this argument as the culprit by comparing the command Android Studio gave to ADB with the one this extension gave. It seems to have been there since the first commit to this repo.

@adelphes
Copy link
Owner

Thanks!
Support for custom launch arguments will be included in the next release.

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

Successfully merging a pull request may close this issue.

2 participants