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

Closed
opened 2025-08-09 17:13:16 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @chrisdjali-wrld3d on 3/26/2020

To make my app launch properly, I have to remove '--activity-brought-to-front' from 8cc31476b3/src/debugger.js (L88). 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.

*Originally created by @chrisdjali-wrld3d on 3/26/2020* To make my app launch properly, I have to remove `'--activity-brought-to-front'` from https://github.com/adelphes/android-dev-ext/blob/8cc31476b3e489f06b39b51893f49d3fc747fab3/src/debugger.js#L88. 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/android-dev-ext#78
No description provided.