Edit or Modify the AAB file

you can check screenshot

image
help me

I guess you missed this

pip install -r requirements.txt

Just paste it in cmd and try again

1 Like

i am getting this error message

C:\Users\Mshiy\APK_TO_AAB>python run.py -i “C:\Users\Mshiy\APK_TO_AAB\Scan.apk” -o “C:\Users\Mshiy\APK_TO_AAB\o\scan.aab”
—Environment & parameter verification
[Current system]:Windows
[Current system JAVA version]*****:
close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr
Traceback (most recent call last):
File “run.py”, line 494, in
pad_reg=input_pad_reg)
File “run.py”, line 448, in run
status, _ = delete(temp_dir)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 101, in delete
return execute_cmd(cmd)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 23, in execute_cmd
close_fds=True)
File “C:\Program Files\Python36\lib\subprocess.py”, line 622, in init
“close_fds is not supported on Windows platforms”
ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

Well you didn’t input the path of apk and be sure you put your apk on any folder in desktop expect windows installed drive

C:\Users\Mshiy\APK_TO_AAB>python run.py -i “C:\Users\Mshiy\APK_TO_AAB\Scan.apk” -o “C:\Users\Mshiy\APK_TO_AAB\o\scan.aab”

i put apk
file path C:\Users\Mshiy\APK_TO_AAB\Scan.apk

Microsoft Windows [Version 10.0.22000.160]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Mshiy>cd APK_TO_AAB

C:\Users\Mshiy\APK_TO_AAB>pip install -r requirements.txt
Collecting PyYAML==5.4.1 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/30/d0/8699372d1c22202e80b160527f8412d98a5edfefeefac056df3997e84801/PyYAML-5.4.1-cp36-cp36m-win_amd64.whl (209kB)
100% |████████████████████████████████| 215kB 878kB/s
Installing collected packages: PyYAML
Successfully installed PyYAML-5.4.1
You are using pip version 9.0.1, however version 21.2.4 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

C:\Users\Mshiy\APK_TO_AAB>python run.py -i C:\Users\Mshiy\APK_TO_AAB\Scan_me (1).apk -oC:\Users\Mshiy\APK_TO_AAB\o\scanme.aab
usage: run.py [-h] -i INPUT -o OUTPUT [–keystore KEYSTORE]
[–store_password STORE_PASSWORD] [–key_alias KEY_ALIAS]
[–key_password KEY_PASSWORD] [–apktool APKTOOL]
[–aapt2 AAPT2] [–android ANDROID] [–bundletool BUNDLETOOL]
[–pad_reg PAD_REG]
run.py: error: unrecognized arguments: (1).apk

C:\Users\Mshiy\APK_TO_AAB>python run.py -i C:\Users\Mshiy\APK_TO_AAB\Scan.apk -o C:\Users\Mshiy\APK_TO_AAB\o\scan.aab
—Environment & parameter verification
[Current system]:Windows
[Current system JAVA version]*****:
close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr
Traceback (most recent call last):
File “run.py”, line 494, in
pad_reg=input_pad_reg)
File “run.py”, line 448, in run
status, _ = delete(temp_dir)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 101, in delete
return execute_cmd(cmd)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 23, in execute_cmd
close_fds=True)
File “C:\Program Files\Python36\lib\subprocess.py”, line 622, in init
“close_fds is not supported on Windows platforms”
ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

C:\Users\Mshiy\APK_TO_AAB>python run.py -i “C:\Users\Mshiy\APK_TO_AAB\Scan.apk” -o “C:\Users\Mshiy\APK_TO_AAB\o\scan.aab”
—Environment & parameter verification
[Current system]:Windows
[Current system JAVA version]*****:
close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr
Traceback (most recent call last):
File “run.py”, line 494, in
pad_reg=input_pad_reg)
File “run.py”, line 448, in run
status, _ = delete(temp_dir)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 101, in delete
return execute_cmd(cmd)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 23, in execute_cmd
close_fds=True)
File “C:\Program Files\Python36\lib\subprocess.py”, line 622, in init
“close_fds is not supported on Windows platforms”
ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

C:\Users\Mshiy\APK_TO_AAB>python run.py -i “C:\Users\Mshiy\APK_TO_AAB\Scan.apk” -o “C:\Users\Mshiy\APK_TO_AAB\o\scan.aab”
—Environment & parameter verification
[Current system]:Windows
[Current system JAVA version]*****:
close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr
Traceback (most recent call last):
File “run.py”, line 494, in
pad_reg=input_pad_reg)
File “run.py”, line 448, in run
status, _ = delete(temp_dir)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 101, in delete
return execute_cmd(cmd)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 23, in execute_cmd
close_fds=True)
File “C:\Program Files\Python36\lib\subprocess.py”, line 622, in init
“close_fds is not supported on Windows platforms”
ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

C:\Users\Mshiy\APK_TO_AAB>APK_TO_AAB>python run.py -i C:\Users\Mshiy\OneDrive\Desktop\Scan.apk -o C:\Users\Mshiy\APK_TO_AAB\o\scan.aab
‘APK_TO_AAB’ is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Mshiy\APK_TO_AAB>python run.py -i “C:\Users\Mshiy\APK_TO_AAB\Scan.apk” -o “C:\Users\Mshiy\APK_TO_AAB\o\scan.aab”
—Environment & parameter verification
[Current system]:Windows
[Current system JAVA version]*****:
close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr
Traceback (most recent call last):
File “run.py”, line 494, in
pad_reg=input_pad_reg)
File “run.py”, line 448, in run
status, _ = delete(temp_dir)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 101, in delete
return execute_cmd(cmd)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 23, in execute_cmd
close_fds=True)
File “C:\Program Files\Python36\lib\subprocess.py”, line 622, in init
“close_fds is not supported on Windows platforms”
ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

C:\Users\Mshiy\APK_TO_AAB>python run.py -i D:\apk\Scan.apk -o D:\apk\o\scan.aab
—Environment & parameter verification
[Current system]:Windows
[Current system JAVA version]*****:
close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr
Traceback (most recent call last):
File “run.py”, line 494, in
pad_reg=input_pad_reg)
File “run.py”, line 448, in run
status, _ = delete(temp_dir)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 101, in delete
return execute_cmd(cmd)
File “C:\Users\Mshiy\APK_TO_AAB\utils.py”, line 23, in execute_cmd
close_fds=True)
File “C:\Program Files\Python36\lib\subprocess.py”, line 622, in init
“close_fds is not supported on Windows platforms”
ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

C:\Users\Mshiy\APK_TO_AAB>

Its C drive windows installed drive that folder is not writeable with out admin permission

Create a folder on desktop and name it “aab” and place your apk in your created folder and if your apk name contains any symbol or number the remove it and create one more folder for output be sure what ever folder you create it does not contain any symbol in name

can you help me please if you want i send you my apk file

i changed the folder but same issue

I just google it and found that this issue is fixed on Python 3.7+ by default just download latest version of python

1 Like

You manifest is more 217 line you can use apk editor 1.10.0 or apk studio 1.5 or older version

Be sure you must be use that version only

1 Like

ok thanks i try it now

is this the apk editor or not ?

Yes download it

1 Like

what i have to click
full edit
simple edit
common edit
xml file edit beta

Full edit And decode all file

1 Like

after that what i have to do ?

Just go to Androidmanifest.xml and edit it like in told in my main post

1 Like

follow the steps given in the guide , i guess

2 Likes