Edit or Modify the AAB file

you don’t have java you need to download it from Java Update 8 and add to your path after you done it will show out put like this

C:\Users\amd>java -version
java version “1.8.0_301”
Java™ SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot™ 64-Bit Server VM (build 25.301-b09, mixed mode)

i will update my post with in 5 min

2 Likes

jarsigner is not recognized as an internal or external command, operable program or batch file
Please help!!!

1- Right click on “This PC” > right-click Properties > Advanced system settings > Environment Variables > select PATH then EDIT.

2- Add your jdk bin folder path to environment variables, it should look like this:

“C:\Program Files\Java\jdk1.8.0_40\bin”.

if google this error you will get more information

1 Like

Thanks for your quick response mam! But even after adding the environment variables the error still exists​:cry:
BTW Im using windows 11 maybe that’s causing any interference?
error

wait this is not a way to do

2 Likes

create a path for java

now add to your environment variables

after doing just type this in cmd java -version

out put like will like this

C:\Users\amd>java -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)

4 Likes

64bit
Mine shows Client VM instead of 64-Bit server! VM has limitation I think

Now java is installed So try to make aab file and follow all instructions

1 Like

thank you very much. I’ve done it

git
java is ok but git doesn’t work !
Is there a difference between downloading by browser and downloading by command?

you need to download git from here

1 Like

you’re welcome

1 Like

I did but I got the same result. I mean that I download APK-TO-AAB using git clone then I used it to generate aab but I got the same result that I got when I was using APK-TO-AAB that I downloaded using the broswer

can you post an video here with error ??

2 Likes

What did you do to solve this problem?

Did you just install java?

sorry my translator was on

this -2 error only come when python 3.6 + , java 8 + is not installed or requirements.txt module is not installed

or just delete that and reinstall it and some jar file are get block by antivirus software just disable it and disable the real-time protection and if java process is already running then kill the process in task manager

1 Like

python
I am using python 3.8.10 May be this version causes this problem?