Change API level to 34 (Manually Compile AAB)

UPDATE 07/04/2023

Google Play began to require compilations with Api level 34, this manual guide continues to apply effectively for the change

Just compile the APK as usual

Now it will be necessary to have the program (APK Easy Tool 1.6) comes in a portable version

DOWNLOAD 1.6 Portable

Then we execute the APK Easy Tool and we go to browse > we select the APK and click on Decompile

when finished, at the bottom we can see what it says (SDK 33) we open the decompile directory

API: With any text editor we open the apktool.yml file and change the value to 34

now we compile the APK you can already see that the SDK increased to 34, send it to the mobile along with our android.keystore file to convert it to AAB and be able to sign it.

On the mobile device we will need the APK to AAB Converter application that you can download from Google Play

image

open the APK to AAB Converter load the APK and convert it to AAB

  • It will ask us to see an advertisement to continue

image

After indicating the source APK and the destination AAB, we load our android.keystore.
In password we must put android.
Then we just click on BUILD AAB

image

We wait for the process to finish and that will be all.

We would already have our ABB with API 34

14 Likes

Excellent guide! :+1:t2:

Wow thanks so much for this guide

APK to AAB converter enlarges the apk from 6 mb up to 16mb in aab. What it add inside? Another app does not change the size of aab, even slightly reduce.

1 Like

I donā€™t know.
Maybe the core of Skynet :thinking:

When I upload the signed apk to google play store I get always: ā€œMIN_SIG_SCHEME_FOR_TARGET_SDK_NOT_MET: Target SDK version 33 requires a minimum of signature scheme v2; the APK is not signed with this or a later signature scheme.ā€
Maybe ZipSigner is too old?
I canā€™t find any new updates.
I have version 3.4.

I also use 3.4 without any problem, yesterday I started the updates

Hello.
@nikzdevz When update your app for API 33.

1 Like

When will release.

i will add sdk 33 this week

1 Like

Ok thank you man

I need some helpā€¦ I already researched and didnā€™t find the solutionā€¦ Iā€™m following the step by step, but itā€™s showing an error in the compilation. Could someone guide me how to solve it please.

the error message says ā€œPlease read the logā€ā€¦ so the question is, what does the log say?

btw why exactly do you want to change the API level manually now? There is no need to do itā€¦
see also

Taifun

Hello tufĆ£o.
Iā€™ll be glad if you can guide meā€¦
There is a warning on google paly, on my app on google play.

:::::::App updates will not be released (6 days from now)
App must target Android 13 (API level 33) or higher
To provide a secure user experience, Google Play requires all apps to meet the desired API level requirements.

From the 30th of Aug. 2023, if your target API level is not within one year of the latest Android version, you will not be able to update your app.:::::::

Do you have another way to solve it?

The log that appears is this:


Compiling APK fileā€¦ (Press ESC to cancel)
Command: java.exe -jar ā€œC:\Users\vt311035\OneDrive\1 Kodular\APK Easy Tool Portable\Apktool\apktool_2.6.1.jarā€ b -f --use-aapt2 -o ā€œC:\Users\vt311035 \OneDrive\1 Kodular\APK Easy Tool Portable\2-Recompiled APKs\EstudeDireito_451.apkā€ ā€œC:\Users\vt311035\OneDrive\1 Kodular\APK Easy Tool Portable\1-Decompiled APKs\EstudeDireito_451ā€

I: Using Apktool 2.6.1
I: Smaling smali folder into classes.dexā€¦
Exception in thread ā€œmainā€ java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.(Unknown Source)
at java.lang.StringBuilder.toString(Unknown Source)
at org.antlr.runtime.BufferedTokenStream.toString(BufferedTokenStream.java:266)
at org.jf.smali.smaliTreeWalker.nonvoid_type_descriptor(smaliTreeWalker.java:7183)
at org.jf.smali.smaliTreeWalker.type_descriptor(smaliTreeWalker.java:7321)
at org.jf.smali.smaliTreeWalker.method_prototype(smaliTreeWalker.java:2455)
at org.jf.smali.smaliTreeWalker.method_reference(smaliTreeWalker.java:3018)
at org.jf.smali.smaliTreeWalker.insn_format35c_method(smaliTreeWalker.java:6548)
at org.jf.smali.smaliTreeWalker.instruction(smaliTreeWalker.java:5138)
at org.jf.smali.smaliTreeWalker.ordered_method_items(smaliTreeWalker.java:4150)
at org.jf.smali.smaliTreeWalker.method(smaliTreeWalker.java:2330)
at org.jf.smali.smaliTreeWalker.methods(smaliTreeWalker.java:1071)
at org.jf.smali.smaliTreeWalker.smali_file(smaliTreeWalker.java:458)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:80)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:430)
at brut.androlib.Androlib.buildSources(Androlib.java:361)
at brut.androlib.Androlib.build(Androlib.java:313)
at brut.androlib.Androlib.build(Androlib.java:280)
at brut.apktool.Main.cmdBuild(Main.java:255)
at brut.apktool.Main.main(Main.java:82)
Compile failed. Please read the log

Click here for more infomation about Apktool issues
https://forum.xda-developers.com/t/tool-windows-apk-easy-tool-v1-58-3-dec-2020.3333960/#post-65775601

Update to api 33 in 1 click

1 Like

Yes, it is ONLY a warning
No need to panicā€¦

Taifun

Right!
The warning says that in 5 days I will no longer be able to release updates.
How will I do it?

::::App updates will not be released (5 days from now)
App must target Android 13 (API level 33) or higher

To provide a secure user experience, Google Play requires all apps to meet the desired API level requirements.

From the 30th of Aug. 2023, if the desired API level is not within one year of the latest Android version, the app will not be able to be updated::::

APK Easy Tool 1.6 and you are using 2.6.1 for some reason indicate the necessary version to be sure of operation.

a temporary solution to extend the deadline until November has been mentioned here

Taifun

2 Likes

how to fix this problem ā€œTo upload an Android App Bundle you must be enrolled in Play App Signing.ā€