Edit or Modify the AAB file

:raising_hand_man: Me too not able to see it in chrome (desktop) but visible in chrome (mobile)

2 Likes

Ok, but I definitely need a big screen.

3 Likes

I would like to know what is causing this. I did dozens of video tutorials for AI2 and Kodular and the videos were / are all viewable.

1 Like

should i repost it ?? i tired with these browser Microsoft Edge , opera gx and chrome it visible to me

Apparently the video encoder is not compatible:

Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 6.94 MiB
Duration : 1mn 11s
Overall bit rate mode : Variable
Overall bit rate : 814 Kbps
Encoded date : UTC 2021-08-30 11:29:41
Tagged date : UTC 2021-08-30 11:29:41
Writing application : Bandicam 5.2.0.1855 / GDI

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 11s
Bit rate : 693 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 15.056 fps
Minimum frame rate : 1.132 fps
Maximum frame rate : 60.060 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.022
Stream size : 5.90 MiB (85%)
Language : English
Encoded date : UTC 2021-08-30 11:29:41
Tagged date : UTC 2021-08-30 11:29:41

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1mn 11s
Duration_LastFrame : -8ms
Bit rate mode : Variable
Bit rate : 117 Kbps
Maximum bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 1.00 MiB (14%)
Language : English
Encoded date : UTC 2021-08-30 11:29:41
Tagged date : UTC 2021-08-30 11:29:41

1 Like

give me 5 min i will fix this

Its opening by default. By the way, how to open cmd in particular folder?


mp4 format and i update in my post also

Is this now visible ?

3 Likes

Just type cmd in above path textbox

There many methods you Google it for more

And you should disable encoding audio
(to keep the video small).

2 Likes

Thank you for your help on converting apk to aab.
It is working and I have successfully published the app on store.

Thank you for your help on converting apk to aab.
It is working and I have successfully published the app on store.

1 Like

still same error
2021-09-01_165831

I downloaded the updated version but the error persists:

C:\Users\Deivid\APK_TO_AAB>python run.py -i C:\Users\Deivid\APK_TO_AAB\delivery_aula.apk -o C:\Users\Deivid\APK_TO_AAB\saida\delivery_aula.aab
---Environment & parameter verification
[Current system]:Windows
[Current system JAVA version]*****:
[Enter apk]:C:\Users\Deivid\APK_TO_AAB\delivery_aula.apk
[Output aab]:C:\Users\Deivid\APK_TO_AAB\saida\delivery_aula.aab
[sign]:C:\Users\Deivid\APK_TO_AAB\libs\android.keystore,storepass:android,alias:androidkey,keypass:android
Exception in thread Thread-4:
Traceback (most recent call last):
  File "C:\Users\Deivid\AppData\Local\Programs\Python\Python39\lib\threading.py", line 954, in _bootstrap_inner
    self.run()
  File "C:\Users\Deivid\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Deivid\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\Deivid\APK_TO_AAB\libs\apktool-2.5.2-fixed.jar
[apktool version number]:------
[aapt2]:C:\Users\Deivid\APK_TO_AAB\libs\aapt2\Windows\aapt2
[aapt2 version number]:------
[android]:C:\Users\Deivid\APK_TO_AAB\libs\android_sdk.jar
[bundletool]:C:\Users\Deivid\APK_TO_AAB\libs\bundletool-all-1.8_fix.jar
[bundletool version number]:------
---time consuming:0.8967211246490479 Environment & parameter verification status:0 msg:success
---Unzip input_apk
---time consuming:6.2320475578308105 Unzip input_apk status:0 msg:I: Using Apktool 2.5.1-dirt on delivery_aula.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Deivid\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 classes6.dex file...
I: Copying raw classes5.dex file...
I: Copying raw classes4.dex file...
I: Copying raw classes3.dex file...
I: Copying raw classes2.dex file...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

---Parse apk information
---time consuming:0.02262592315673828 Parse apk information status:0 msg:success
---Build public.txt
---time consuming:0.016011714935302734 Build public.txt status:0 msg:success
---[base]-Build the module compression package
---[base]-Compile resources
---time consuming:1.1577470302581787 [base]-Compile resources status:0 msg:
---[base]-Associated resources
---time consuming:0.6480000019073486 [base]-Associated resources status:0 msg:
---[base]-Unzip the resources apk
---time consuming:0.49879026412963867 [base]-Unzip the resources apk status:0 msg:success
---[base]-Data_AndroidManifest
---time consuming:0.011998176574707031 [base]-Data_AndroidManifest status:0 msg:success
---[base]-Copy assets
---time consuming:0.152008056640625 [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.018329381942749023 [base]-Copy META-INF status:0 msg:success
---[base]-Copy dex
---time consuming:0.15694212913513184 [base]-Copy dex status:0 msg:success
---[base]-Compressed zip
Exception in thread Thread-18:
Traceback (most recent call last):
  File "C:\Users\Deivid\AppData\Local\Programs\Python\Python39\lib\threading.py", line 954, in _bootstrap_inner
    self.run()
  File "C:\Users\Deivid\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Deivid\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 10: illegal multibyte sequence
---time consuming:0.020478010177612305 [base]-Compressed zip status:0 msg:success
---time consuming:2.671748399734497 [base]-Build the module compression package status:0 msg:success
---Construct config json
---time consuming:0.0 Construct config json status:0 msg:success
---Construct aab
---time consuming:0.5070211887359619 Construct aab status:-1 msg:[BT:1.6.1] Error: File 'temp_20210901083715\modules\base.zip' was not found.
java.lang.IllegalArgumentException: File 'temp_20210901083715\modules\base.zip' was not found.
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:217)
        at com.android.tools.build.bundletool.model.utils.files.FilePreconditions.checkFileExistsAndReadable(FilePreconditions.java:35)
        at com.android.tools.build.bundletool.commands.BuildBundleCommand.lambda$validateInput$2(BuildBundleCommand.java:280)
        at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
        at com.android.tools.build.bundletool.commands.BuildBundleCommand.validateInput(BuildBundleCommand.java:277)
        at com.android.tools.build.bundletool.commands.BuildBundleCommand.execute(BuildBundleCommand.java:201)
        at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:73)
        at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:49)

task Construct aab Execution abnormal status:-1 msg:[BT:1.6.1] Error: File 'temp_20210901083715\modules\base.zip' was not found.
java.lang.IllegalArgumentException: File 'temp_20210901083715\modules\base.zip' was not found.
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:217)
        at com.android.tools.build.bundletool.model.utils.files.FilePreconditions.checkFileExistsAndReadable(FilePreconditions.java:35)
        at com.android.tools.build.bundletool.commands.BuildBundleCommand.lambda$validateInput$2(BuildBundleCommand.java:280)
        at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
        at com.android.tools.build.bundletool.commands.BuildBundleCommand.validateInput(BuildBundleCommand.java:277)
        at com.android.tools.build.bundletool.commands.BuildBundleCommand.execute(BuildBundleCommand.java:201)
        at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:73)
        at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:49)


C:\Users\Deivid\APK_TO_AAB>

My App is already on playstore with my keystore. So I have got a problem after making .aab file. The .aab fille has sign with a keystore that is not mine. console rejected the update. Any solution?

1 Like

error - ‘git’ is not recognized as an internal or external command,
operable program or batch file.

Error 1 - special characters ($) in public.xml

[base]-Compile_resource_error task [base]-Compile_resources Execution_exception_status:-1 msg:temp_20210901091259\decode_apk_dir\res\values\public.xml:3348: error: resource ‘drawable/$avd_hide_password__0’ has invalid entry name ‘$avd_hide_password__0’. Invalid character ‘$avd_hide_password__0’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3349: error: resource ‘drawable/$avd_hide_password__1’ has invalid entry name ‘$avd_hide_password__1’. Invalid character ‘$avd_hide_password__1’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3350: error: resource ‘drawable/$avd_hide_password__2’ has invalid entry name ‘$avd_hide_password__2’. Invalid character ‘$avd_hide_password__2’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3351: error: resource ‘drawable/$avd_show_password__0’ has invalid entry name ‘$avd_show_password__0’. Invalid character ‘$avd_show_password__0’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3352: error: resource ‘drawable/$avd_show_password__1’ has invalid entry name ‘$avd_show_password__1’. Invalid character ‘$avd_show_password__1’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3353: error: resource ‘drawable/$avd_show_password__2’ has invalid entry name ‘$avd_show_password__2’. Invalid character ‘$avd_show_password__2’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3354: error: resource ‘drawable/$ic_star__0’ has invalid entry name ‘$ic_star__0’. Invalid character ‘$ic_star__0’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3355: error: resource ‘drawable/$ic_star__1’ has invalid entry name ‘$ic_star__1’. Invalid character ‘$ic_star__1’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3356: error: resource ‘drawable/$ic_star__2’ has invalid entry name ‘$ic_star__2’. Invalid character ‘$ic_star__2’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3357: error: resource ‘drawable/$ic_star__3’ has invalid entry name ‘$ic_star__3’. Invalid character ‘$ic_star__3’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3358: error: resource ‘drawable/$ic_star__4’ has invalid entry name ‘$ic_star__4’. Invalid character ‘$ic_star__4’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3359: error: resource ‘drawable/$ic_star__5’ has invalid entry name ‘$ic_star__5’. Invalid character ‘$ic_star__5’.
temp_20210901091259\decode_apk_dir\res\values\public.xml:3360: error: resource ‘drawable/$ic_star__6’ has invalid entry name ‘$ic_star__6’. Invalid character ‘$ic_star__6’.
temp_20210901091259\decode_apk_dir\res\values\public.xml: error: file failed to compile.

Error 2 - ?

—[base]-Compressed_zip
Exception in thread Thread-18:
Traceback (most recent call last):
File “C:\Users\Albeci Nogueira\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 973, in _bootstrap_inner
self.run()
File “C:\Users\Albeci Nogueira\AppData\Local\Programs\Python\Python39\lib\threading.py”, line 910, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\Albeci Nogueira\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 10: illegal multibyte sequence

Error 3 - Build .aab

—Build_aab
----time_consuming :3.774174928665161 Build_aab status:-1 msg:[BT:1.6.1] Error: File ‘temp_20210901091259\modules\base.zip’ was not found.
java.lang.IllegalArgumentException: File ‘temp_20210901091259\modules\base.zip’ was not found.
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:217)
at com.android.tools.build.bundletool.model.utils.files.FilePreconditions.checkFileExistsAndReadable(FilePreconditions.java:35)
at com.android.tools.build.bundletool.commands.BuildBundleCommand.lambda$validateInput$2(BuildBundleCommand.java:280)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
at com.android.tools.build.bundletool.commands.BuildBundleCommand.validateInput(BuildBundleCommand.java:277)
at com.android.tools.build.bundletool.commands.BuildBundleCommand.execute(BuildBundleCommand.java:201)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:73)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:49)

task Build_aab Execution_exception_status:-1 msg:[BT:1.6.1] Error: File ‘temp_20210901091259\modules\base.zip’ was not found.
java.lang.IllegalArgumentException: File ‘temp_20210901091259\modules\base.zip’ was not found.
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:217)
at com.android.tools.build.bundletool.model.utils.files.FilePreconditions.checkFileExistsAndReadable(FilePreconditions.java:35)
at com.android.tools.build.bundletool.commands.BuildBundleCommand.lambda$validateInput$2(BuildBundleCommand.java:280)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
at com.android.tools.build.bundletool.commands.BuildBundleCommand.validateInput(BuildBundleCommand.java:277)
at com.android.tools.build.bundletool.commands.BuildBundleCommand.execute(BuildBundleCommand.java:201)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:73)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:49)

What can it be?
I thank you in advance for your efforts to bring us this tool. Thank you very much

task Unzip input_apk Execution abnormal status:-1 msg:Input file (folder\abbtest.apk) was not found or was not readable.

@dvdrothen got this error because the that’s a limitation of multiprocessing, especially on Windows and module can’t import. This is from the multiprocessing docs python

did you installed the requirments.txt modules and python and java 8 are in your path ??

it seems like your pc is having low specs

I have 2 fixes for you

threading.py error "multiprocessing"

go to the run.py script in APK TO AAB folder and delete those 3 line from 445 to 447 and try now
those 3 line look like this

        finally:
        pass
        status, _ = delete(temp_dir)

this will make the script write only it will don’t delete the created the temporary

above fix doesn't work then use this

download this script run.py delete that script and paste this script and now run it and be sure that you make your out put folder not in C drive or window install drive

kill the java process if it already running in task manager

and @Albeci_Nogueira you was try a long method try to use google or try above method

if you guys got error in tool then you can try long method

1 Like

Your apk is corrupted

Your Androidmanifest.xml incorrect means incorrect modification of you have done

I already mentioned many time you need to resign it I use temporary key to sign your aab file