AdriaGual / marvel-snap-bot

A computer vision bot made with OpenCV and ADB.
102 stars 26 forks source link

UnicodeDecodeError #19

Closed ghysnzsy closed 1 year ago

ghysnzsy commented 1 year ago

Traceback (most recent call last): File "C:\Users\DiC\marvel-snap-bot\start.py", line 15, in android_connection.connect() File "C:\Users\DiC\marvel-snap-bot\utils\android_connection.py", line 10, in connect connect_result = os.popen("adb connect 127.0.0.1:5555").read() UnicodeDecodeError: 'cp949' codec can't decode byte 0xeb in position 34: illegal multibyte sequence

how can i do?

and my bluestack's adb port is 64188. so, how to change port number ?

ghysnzsy commented 1 year ago

i find in android_connection.py and global_utils.py

paperc07 commented 1 year ago

How did you fix problem just in case others have problem?