Edit or Modify the AAB file

I need to modify an apk for aab. I pay you to do this for me do you accept?

1 Like

Who are you asking this to?


What does this message mean?

SimpleDimple Shreya

To this person.

1 Like

PS E:\Download\Compressed\APK_TO_AAB-main\APK_TO_AAB-main> python run.py -i “E:\Download\MM.apk” -o “E:\Download\MM.aab”
—Environment_&parameter_verification
[Current_system]:Windows
[Current_system_JAVA_version]#####:
[Enter_apk]:E:\Download\MM.apk
[Output_aab]:E:\Download\MM.aab
[sign]:E:\Download\Compressed\APK_TO_AAB-main\APK_TO_AAB-main\libs\key.jks,storepass:123456789,alias:123456789,keypass:123456789
##################################################
Window_does_not_check_to_avoid_libraries_without_openssl
##################################################
[apktool]:E:\Download\Compressed\APK_TO_AAB-main\APK_TO_AAB-main\libs\apktool-2.5.2-fixed.jar
[apktool_version_number]:#####
[aapt2]:E:\Download\Compressed\APK_TO_AAB-main\APK_TO_AAB-main\libs\aapt2\Windows\aapt2
[aapt2_version_number]:#####
[android]:E:\Download\Compressed\APK_TO_AAB-main\APK_TO_AAB-main\libs\android_sdk.jar
[bundletool]:E:\Download\Compressed\APK_TO_AAB-main\APK_TO_AAB-main\libs\bundletool-all-1.8_fix.jar
[bundletool_version_number]:#####
----time_consuming :0.9284660816192627 Environment
&_parameter_verification status:0 msg:success
—Unzip_input_apk
----time_consuming :7.109117269515991 Unzip_input_apk status:0 msg:I: Using Apktool 2.5.1 on MM.apk
I: Loading resource table…
I: Decoding AndroidManifest.xml with resources…
I: Loading resource table from file: C:\Users\arika\AppData\Local\apktool\framework\1.apk
I: Regular manifest package…
I: Decoding file-resources…
I: Decoding values / XMLs…
I: Copying raw classes.dex file…
I: Copying raw classes2.dex file…
I: Copying raw classes3.dex file…
I: Copying raw classes4.dex file…
I: Copying raw classes5.dex file…
I: Copying raw classes6.dex file…
I: Copying assets and libs…
I: Copying unknown files…
I: Copying original files…

—Parse_apk_information
----time_consuming :0.012990713119506836 Parse_apk_information status:0 msg:success
—[base]-Build_the_module_compression_package
—[base]-Compile_resources
----time_consuming :2.489152193069458 [base]-Compile_resources status:0 msg:
—[base]-Associated_resources
----time_consuming :0.7358458042144775 [base]-Associated_resources status:0 msg:
—[base]-Unzip_resources_apk
----time_consuming :0.4777257442474365 [base]-Unzip_resources_apk status:0 msg:success
—[base]-Mobile_AndroidManifest
----time_consuming :0.010992765426635742 [base]-Mobile_AndroidManifest status:0 msg:success
—[base]-Copy_assets
----time_consuming :0.12333416938781738 [base]-Copy_assets status:0 msg:success
—[base]-Process_the_original_apk_signature_information
----time_consuming :0.0 [base]-Process_the_original_apk_signature_information status:0 msg:success
—[base]-Copy_META-INF
----time_consuming :0.016791105270385742 [base]-Copy_META-INF status:0 msg:success
—[base]-Copy_dex
----time_consuming :0.10553097724914551 [base]-Copy_dex status:0 msg:success
—[base]-Compressed_zip
----time_consuming :3.636251449584961 [base]-Compressed_zip status:0 msg:success
----time_consuming :7.612501382827759 [base]-Build_the_module_compression_package status:0 msg:success
—Build_config_json
----time_consuming :0.0010061264038085938 Build_config_json status:0 msg:success
—Build_aab
----time_consuming :2.9165265560150146 Build_aab status:0 msg:
—sign
----time_consuming :0.016988515853881836 sign status:-1 msg:‘jarsigner’ is not recognized as an internal or external command,
operable program or batch file.

task sign Execution_exception_status:-1 msg:‘jarsigner’ is not recognized as an internal or external command,
operable program or batch file.

PS E:\Download\Compressed\APK_TO_AAB-main\APK_TO_AAB-main>

how to fix this

I think you need to sign aab

But I wasn’t able to reach to this point because I got this message

and I don’t know the reason.

It seems not easy method, Now I am searching for the person who told me that app inventor is easier than Android studio :thinking: I never expected that I will need to build aab manually after creating an app inventor app :sob:

1 Like

I’m desperate looking for someone to convert an apk to aab with api 30. Paid for the service.

1 Like

I got the same result :thinking:

Microsoft Windows [versão 10.0.22000.168]
(c) Microsoft Corporation. Todos os direitos reservados.

C:\Users\bruno\Desktop\APK_TO_AAB>python run.py -i C:\Users\bruno\Desktop\APK_TO_AAB\AloPerola.apk -o C:\Users\bruno\Desktop\APK_TO_AAB\o\myaab.aab
—Environment_&_parameter_verification
[Current_system]:Windows
[Current_system_JAVA_version]#####:
Exception in thread Thread-2:
Traceback (most recent call last):
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 973, in _bootstrap_inner
self.run()
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 910, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 1479, in _readerthread
buffer.append(fh.read())
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x82 in position 11: illegal multibyte sequence
[Enter_apk]:C:\Users\bruno\Desktop\APK_TO_AAB\AloPerola.apk
[Output_aab]:C:\Users\bruno\Desktop\APK_TO_AAB\o\myaab.aab
[sign]:C:\Users\bruno\Desktop\APK_TO_AAB\libs\key.jks,storepass:123456789,alias:123456789,keypass:123456789
Exception in thread Thread-4:
Traceback (most recent call last):
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 973, in _bootstrap_inner
self.run()
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 910, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 1479, in _readerthread
buffer.append(fh.read())
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x82 in position 14: illegal multibyte sequence
##################################################
Window_does_not_check_to_avoid_libraries_without_openssl
##################################################
[apktool]:C:\Users\bruno\Desktop\APK_TO_AAB\libs\apktool-2.5.2-fixed.jar
[apktool_version_number]:#####
Exception in thread Thread-6:
Traceback (most recent call last):
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 973, in _bootstrap_inner
self.run()
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 910, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 1479, in _readerthread
buffer.append(fh.read())
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x82 in position 11: illegal multibyte sequence
[aapt2]:C:\Users\bruno\Desktop\APK_TO_AAB\libs\aapt2\Windows\aapt2
[aapt2_version_number]:#####
[android]:C:\Users\bruno\Desktop\APK_TO_AAB\libs\android_sdk.jar
[bundletool]:C:\Users\bruno\Desktop\APK_TO_AAB\libs\bundletool-all-1.8_fix.jar
[bundletool_version_number]:#####
Exception in thread Thread-10:
Traceback (most recent call last):
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 973, in _bootstrap_inner
self.run()
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 910, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 1479, in readerthread
buffer.append(fh.read())
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x82 in position 11: illegal multibyte sequence
----time_consuming :0.6496396064758301 Environment
&_parameter_verification status:0 msg:success
—Unzip_input_apk
Exception in thread Thread-12:
Traceback (most recent call last):
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 973, in _bootstrap_inner
self.run()
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 910, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\bruno\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 1479, in _readerthread
buffer.append(fh.read())
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x82 in position 11: illegal multibyte sequence
----time_consuming :0.11956596374511719 Unzip_input_apk status:0 msg:
—Parse_apk_information
[Errno 2] No such file or directory: ‘temp_20210830235025\decode_apk_dir\apktool.yml’

C:\Users\bruno\Desktop\APK_TO_AAB>

I updated Python, followed the tutorial, but it didn’t work.

 ----time_consuming :0.06884866099243164 Environment&parameter_verification status:-2 msg:success
task Environment&_parameter_verification Execution_exception_status:-2 msg:success

me too.
my status :-2 but others 0

you executed wrong command

it seems like java is already running @Omar and @Uyen_Chau

To fix this delete the tool and go to task manager kill java there or just shutdown the pc and open it again after that now download again from github using git clone

you need to install java 8 and add in your path and google it for more info

2 Likes

Eu coloquei entre " " também e mesmo assim deu erro.
Eu percebi agora que após editar o apk ele não instala, pode ser esse o problema?

i just translate your post

I put between " " too and it still gave an error. I realized now that after editing the apk it doesn’t install, could that be the problem?

yes if apk doesn’t install means is apk corrupted you need to do correctly

3 Likes

English is the official language of the community.

2 Likes

I tried again your way but still not working.

what is your error ??

1 Like
Microsoft Windows [Version 10.0.19042.746]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\User>git  clone https://github.com/simple125345/APK_TO_AAB
Cloning into 'APK_TO_AAB'...
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 23 (delta 2), reused 21 (delta 0), pack-reused 0
Receiving objects: 100% (23/23), 69.10 MiB | 2.33 MiB/s, done.
Resolving deltas: 100% (2/2), done.

C:\Users\User>cd APK_TO_AAB

C:\Users\User\APK_TO_AAB>pip install -r requirements.txt
Requirement already satisfied: PyYAML==5.4.1 in c:\users\user\appdata\local\programs\python\python39\lib\site-packages (from -r requirements.txt (line 1)) (5.4.1)

C:\Users\User\APK_TO_AAB>python run.py -i D:\User\Documents\test.apk -o D:\User\Documents\fileaab\test.aab
---Environment_&_parameter_verification
[Current_system]:Windows
[Current_system_JAVA_version]#####:
[Enter_apk]:D:\User\Documents\test.apk
[Output_aab]:D:\User\Documents\fileaab\test.aab
[sign]:C:\Users\User\APK_TO_AAB\libs\key.jks,storepass:123456789,alias:123456789,keypass:123456789
##################################################
Window_does_not_check_to_avoid_libraries_without_openssl
##################################################
[apktool]:C:\Users\User\APK_TO_AAB\libs\apktool-2.5.2-fixed.jar
[apktool_version_number]:#####
[aapt2]:C:\Users\User\APK_TO_AAB\libs\aapt2\Windows\aapt2
[aapt2_version_number]:#####
[android]:C:\Users\User\APK_TO_AAB\libs\android_sdk.jar
[bundletool]:C:\Users\User\APK_TO_AAB\libs\bundletool-all-1.8_fix.jar
[bundletool_version_number]:#####
----time_consuming :0.09632706642150879 Environment_&_parameter_verification status:-2 msg:success
task Environment_&_parameter_verification Execution_exception_status:-2 msg:success

C:\Users\User\APK_TO_AAB>

CANNOT CONVERT TO AAB FILE

Please dont use all caps. That is like shouting and we dont shout here.

1 Like