Edit or Modify the AAB file

No I googled the problem it was about Java jdk
I downloaded it and now its working
Thanks

1 Like

This post was flagged by the community and is temporarily hidden.

1 Like

I didn’t know about this but you need to edit above line in starting not whole

Send me your apk in my pm

If you give the I can fix the issue

1 Like

You can try with apk editor , apk studio or apk tool etc there are many tool available

Try with these and let me know if you successfully generated the aab file with these tools

This can help others also

Right now I am not on my computer tomorrow I will try to compile apk with these tool

3 Likes

Thank you. I will try to use apk studio then I will follow the steps. I have to master this process becuase I will need to do it many times.

Thanks for your tutorials, I was able to successfully modify the SDK to level 30, and I was also able to sign the ABB successfully after succeeding in these 2 procedures. The Google Play Store console is compatible with my application.
“Edit SDK 29 to 30 with APK Editor Studio”

5 Likes

I was waiting to listen this line anyway thank you :grinning_face_with_smiling_eyes:

3 Likes

Great tutorial 100% reliable solution :grin: :smiley:

1 Like

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