Edit or Modify the AAB file


here is the all log

Java 8 is not installed on your pc download it and add to your environment variables system path


—time consuming:7.52773118019104 Unzip input_apk status:0 msg:
—Parse apk information
name ‘yaml’ is not defined

Here is the all log.
Please help me thank you so much.

Welcome to the Community !
Please read the Posts Above Maybe They Can Resolve Your Issue

Check your Python Version and try if the above thing is not your issue

1 Like


Thank you python version 3.9.6

Hello Shreya i am still getting the same error after installing java 8 and adding it to the environment variables. I had already modified my apk to api 30. Can you please change it to AAB for me. Its really important.
Thanks in advance

@Mohammed_Arif you can read some above post because your issues is regarding to java 8

kindly this read post java guide

@AliSa

your output folder is not a correct path "./" make a folder on desktop then add the path


I fixed it but it didn’t work either. Thanks!

Install your modified apk on your device it seems like there is an problem with your modified apk

which software did you use for editing apk file ??

1 Like

Thank you shreya. It worked. Thanks a lot

2 Likes

@Shreyaa getting this error on pip install -r requirements.txt

requirements.txt text didn’t exist in your dir

type dir and see check did requirements.txt exist there

if not then delete the tool from C:\Users\hp avijit and download again because the screenshot you provided it say the tool already exist in your path

by the way Kodular has released the update you can export the AAB file from builder

okay did you tried what i said ??

Problem fixed after trying this. Thanks for helping me

1 Like

I get this error and still didn’t find a solution, please help

C:\Users\ayoub\APK_TO_AAB>python run.py -i “C:\Users\ayoub\APK_TO_AAB\in\smartremote.apk” -o “C:\Users\ayoub\APK_TO_AAB\out\test.aab”
—Environment & parameter verification
[Current system]:Windows
[Current system JAVA version]*****:
java version “1.8.0_291”
Java™ SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot™ 64-Bit Server VM (build 25.291-b10, mixed mode)
[Enter apk]:C:\Users\ayoub\APK_TO_AAB\in\smartremote.apk
[Output aab]:C:\Users\ayoub\APK_TO_AAB\out\test.aab
[sign]:C:\Users\ayoub\APK_TO_AAB\libs\android.keystore,storepass:android,alias:androidkey,keypass:android
‘keytool’ n’est pas reconnu en tant que commande interne
ou externe, un programme exĂŠcutable ou un fichier de commandes.
######################################################
Window does not check, to avoid libraries without openssl
######################################################
[apktool]:C:\Users\ayoub\APK_TO_AAB\libs\apktool-2.5.2-fixed.jar
[apktool version number]:------
2.5.1-dirt
[aapt2]:C:\Users\ayoub\APK_TO_AAB\libs\aapt2\Windows\aapt2
[aapt2 version number]:------
Android Asset Packaging Tool (aapt) 2.19-7147631
[android]:C:\Users\ayoub\APK_TO_AAB\libs\android_sdk.jar
[bundletool]:C:\Users\ayoub\APK_TO_AAB\libs\bundletool-all-1.8_fix.jar
[bundletool version number]:------
1.6.1
—time consuming:0.6086809635162354 Environment & parameter verification status:0 msg:success
—Unzip input_apk
I: Using Apktool 2.5.1-dirt on smartremote.apk
I: Loading resource table…
I: Decoding AndroidManifest.xml with resources…
I: Loading resource table from file: C:\Users\ayoub\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 assets.dex file…
I: Copying raw classes2.dex file…
I: Copying raw classes3.dex file…
I: Copying raw assets/audience_network.dex file…
I: Copying assets and libs…
I: Copying unknown files…
I: Copying original files…
—time consuming:5.231907367706299 Unzip input_apk status:0 msg:
—Parse apk information
—time consuming:0.012963056564331055 Parse apk information status:0 msg:success
—Build public.txt
—time consuming:0.021939992904663086 Build public.txt status:0 msg:success
—[base]-Build the module compression package
—[base]-Compile resources
temp_20210930024817\decode_apk_dir\res\values\public.xml:2364: error: resource ‘drawable/$avd_hide_password__0’ has invalid entry name ‘$avd_hide_password__0’. Invalid character ‘$avd_hide_password__0’.
temp_20210930024817\decode_apk_dir\res\values\public.xml:2365: error: resource ‘drawable/$avd_hide_password__1’ has invalid entry name ‘$avd_hide_password__1’. Invalid character ‘$avd_hide_password__1’.
temp_20210930024817\decode_apk_dir\res\values\public.xml:2366: error: resource ‘drawable/$avd_hide_password__2’ has invalid entry name ‘$avd_hide_password__2’. Invalid character ‘$avd_hide_password__2’.
temp_20210930024817\decode_apk_dir\res\values\public.xml:2367: error: resource ‘drawable/$avd_show_password__0’ has invalid entry name ‘$avd_show_password__0’. Invalid character ‘$avd_show_password__0’.
temp_20210930024817\decode_apk_dir\res\values\public.xml:2368: error: resource ‘drawable/$avd_show_password__1’ has invalid entry name ‘$avd_show_password__1’. Invalid character ‘$avd_show_password__1’.
temp_20210930024817\decode_apk_dir\res\values\public.xml:2369: error: resource ‘drawable/$avd_show_password__2’ has invalid entry name ‘$avd_show_password__2’. Invalid character ‘$avd_show_password__2’.
temp_20210930024817\decode_apk_dir\res\values\public.xml: error: file failed to compile.
—time consuming:3.6871654987335205 [base]-Compile resources status:1 msg:
[base]-Compile resource error task [base]-Compile resources Execution abnormal status:1 msg:
—[base]-Associated resources
lg: error: failed to open file: Le fichier sp├®cifi├® est introuvable. (2).
error: failed parsing input.
—time consuming:0.28523802757263184 [base]-Associated resources status:1 msg:
task [base]-Associated resources Execution abnormal status:1 msg:

I tried changing only the targetSdkVersion
And also tried swapping all 3, platformBuildVersionCode, compileSdkVersion and targetSdkVersion.
Even so when I compile the app the app always breaks, it just doesn’t install. I’ve tried it by apk editor, by mt maneger, and by that editor you recommended! And it didn’t work ;(
Would you help me?

Why are you trying to change target SDK? compliled app targets SDK 30

5 Likes

Target SDK must be at 30 to upload to play store correct?

Yes but Kodular targets SDK 30 from 15/9/2021

this guide is now obsolete, because

I will close it…

Taifun

3 Likes