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

fix: parse adb devices with trailing CR #391

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

aizensoosuke
Copy link

Closes #229

Fixes the error "No devices or emulators found" when running ionic cap run android on WSL.

Fixes native-run:android:utils:adb:parseAdbDevices adb devices output line does not match expected regex: 'emulator-5554 device product:sdk_gphone64_x86_64 model:sdk_gphone64_x86_64 device:emu64xa transport_id:1\r' +0ms

I implemented the issue author's suggested fix, and tested it. It allowed me to run ionic cap run android, including with live reload, on WSL.

@aizensoosuke aizensoosuke force-pushed the 229-fails-to-parse-adb-output-because-of-r branch from 78f3206 to e47beb6 Compare July 29, 2024 21:10
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 this pull request may close these issues.

Fails to parse ADB output because of \r
1 participant