Android Studio automatically connect to Windows Subsystem for Android

0 votes
As answered

 it's already possible to connect Android Studio to WSA. But, after you restart Android Studio, it disconnects the Android Debug Bridge and you need to run \ connect <WSA instance IP> again.

Is there a way to automatically tell the ADB to connect to WSA when you start up Android Studio, or simply keep it connected?
Jun 16 in Others by nisha
• 2,180 points
32 views

1 answer to this question.

0 votes
Check Taskmanager for adb.exe processes and note their PID. Next time it had disconnected check if the PID has changed. Lately adb seems to be ab bit unstable. If ADB server crashes silently it will be automatically restarted on use
answered Jun 16 by polo
• 1,500 points

Related Questions In Others

0 votes
1 answer

Unable to detect adb version, adb output in Android Studio 3.3.2

To avoid this ERROR, start with changing ...READ MORE

answered Feb 11 in Others by Soham
• 8,740 points
449 views
0 votes
1 answer

How to prepare an APK for the Amazon Android App Store

you should use zipalign during every build, ...READ MORE

answered Jun 1 in Others by nisha
• 2,180 points
38 views
0 votes
1 answer

How to make Diamond shape xml background for android view

you can do this: <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> ...READ MORE

answered Jun 1 in Others by nisha
• 2,180 points
148 views
0 votes
0 answers

"unable to locate adb" using Android Studio

While testing my app in a real ...READ MORE

May 1 in Others by Kichu
• 19,040 points
50 views
0 votes
1 answer

Error: IllegalArgumentException: Unable to locate adb in Android Studio v2.3

when you try to move an Android project ...READ MORE

answered Dec 16, 2020 in Others by Gitika
• 65,870 points
1,686 views
0 votes
1 answer

How to take a screenshot of a current Activity and then share it?

For me, I captured and then shared ...READ MORE

answered Feb 8 in Others by Soham
• 8,740 points
19 views
0 votes
1 answer

"Default Activity Not Found" on Android Studio upgrade

If you see that ERROR occurrence after ...READ MORE

answered Feb 11 in Others by Soham
• 8,740 points
222 views
0 votes
1 answer

How To Create Phone Number Format XXX-XXX-XXXX In Android

 can try: private String formatNumbersAsCode(CharSequence s) { ...READ MORE

answered Jun 14 in Others by polo
• 1,500 points
140 views
0 votes
1 answer

Android open camera from button

you can use the below syntax as ...READ MORE

answered Jun 14 in Others by polo
• 1,500 points
20 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP