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

Update utils.py #303

Merged
merged 1 commit into from
Dec 3, 2023
Merged

Conversation

Ahmed-Sharaf-Mohammed
Copy link
Contributor

this update solves this error.
"UnicodeEncodeError: 'latin-1' codec can't encode character '\u2014' in position 60: ordinal not in range(256) "

I hope you accept my humble amendment!

this update solve this error

vboxuser@ubuntu:~/AndroRAT$ python3 androRAT.py --build -i 192.168.8.129 -p 8282 -o facebook.apk
[INFO] Generating APK
[INFO] Building APK /Traceback (most recent call last):
  File "/home/vboxuser/AndroRAT/androRAT.py", line 56, in <module>
    build(args.ip,port_,args.output,False,None,icon)
  File "/home/vboxuser/AndroRAT/utils.py", line 378, in build
    while t.is_alive(): animate("Building APK ")
  File "/home/vboxuser/AndroRAT/utils.py", line 46, in animate
    sys.stdout.write("\r"+stdOutput("info")+"\033[1m"+message+"\033[31m"+char+"\033[0m")
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2014' in position 60: ordinal not in range(256)
vboxuser@ubuntu:~/AndroRAT$
@karma9874 karma9874 merged commit 8b42db5 into karma9874:master Dec 3, 2023
1 check passed
@karma9874
Copy link
Owner

thank you for the PR

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.

2 participants