Issue
I want to connect the emulator with back-end app on own local machine by using command:
adb -s emulator-5554 reverse tcp:8085 tcp:8085
But It return results:
adb.exe: error: cannot bind listener: Operation not permitted.
Please help me how to solve it.
I am using Android studio, my backend run node
Solution
Just posting the answer based on what is written in the comments by @user3647475 for anyone who is facing the issue
This issue occurs on AVDs running on android platform api version 29 - I am not sure what is the root cause.
Quick fix is to create & use avd with android platform api version 28, and re-test.
I tested on the android Asus phone running on android platform api version 29 and I did not face this issue.
So seems like there is a problem with the avd/system images made up of android platform api version 29
Answered By - AADProgramming
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.