AndroRAT icon indicating copy to clipboard operation
AndroRAT copied to clipboard

Cant run on termux

Open Sabbir589 opened this issue 3 years ago • 7 comments

I cant run it on my termux Traceback (most recent call last): File "/data/data/com.termux/files/home/AndroRAT/androRAT.py", line 52, in build(args.ip,port_,args.output,False,None,icon) File "/data/data/com.termux/files/home/AndroRAT/utils.py", line 370, in build version_no = re.search(pattern, java_version.stderr).groups()[0] AttributeError: 'NoneType' object has no attribute 'groups'

Sabbir589 avatar Jan 04 '22 22:01 Sabbir589

Same error

G4lixou avatar Jan 17 '22 01:01 G4lixou

I cant run it on my termux Traceback (most recent call last): File "/data/data/com.termux/files/home/AndroRAT/androRAT.py", line 52, in build(args.ip,port_,args.output,False,None,icon) File "/data/data/com.termux/files/home/AndroRAT/utils.py", line 370, in build version_no = re.search(pattern, java_version.stderr).groups()[0] AttributeError: 'NoneType' object has no attribute 'groups'

Install Java SE 8 on your machine (and set the environment variables if using windows)

version_no = re.search(pattern, java_version.stderr).groups()[0] The above line searches for java version number installed on your machine.

TarunChakitha avatar Feb 12 '22 10:02 TarunChakitha

Traceback (most recent call last): File "/data/data/com.termux/files/home/AndroRAT/androRAT.py", line 52, in build(args.ip,port_,args.output,False,None,icon) File "/data/data/com.termux/files/home/AndroRAT/utils.py", line 370, in build version_no = re.search(pattern, java_version.stderr).groups()[0] AttributeError: 'NoneType' object has no attribute 'groups' $

abekuchbhi avatar Feb 12 '22 10:02 abekuchbhi

An how to install Java se8 in termux??

I haven't tested it completely but...

  1. Installed java 8 from here - Termux-Java
  2. Had an error Bad system call on running java -version so I followed this comment to fix it

Used it with python3.10 and it successfully built and signed the apk.

TarunChakitha avatar Feb 12 '22 15:02 TarunChakitha

From where u installed???

abekuchbhi avatar Feb 12 '22 16:02 abekuchbhi

From where u installed???

From here https://github.com/MasterDevX/Termux-Java

TarunChakitha avatar Feb 15 '22 17:02 TarunChakitha

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Dec 05 '23 02:12 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Dec 12 '23 02:12 github-actions[bot]