How to build a big app → APK max. 100 MB or → AAB 150 MB

Steps to build a big app for

  1. APK → max. 100 MB or
  2. AAB → max. 150 MB (new, added on Aug 31, 2021)

1. APK (Note: apps that were released before Aug 1, 2021 can still use APKs !)

You can use e.g. APK Editor Studio for that.
First download the keystore "android.keystore" from your AI2 account and rename it to: "android.ks"

  1. remove some big files (png, jpg, mp3,…) from the assets (AIA < 10 MB, better < 5 MB)
  2. build APK
  3. decompile APK
  4. (re)insert the missing files to the assets
  5. recompile your app
  6. sign APK

Video tutorial (APK Editor Studio):

2. AAB (Note: For new apps you must use AABs.)

  1. Export your keystore (android.keystore)
  2. Remove some big files (png, jpg, mp3, wav, …) from the assets (AIA < 20 MB, better < 5 MB)
  3. Build the AAB
  4. Open the AAB with 7-Zip or WinRAR and (re)insert the missing files to the assets
  5. Sign the AAB (→ Java JDK 8):
    jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore android.keystore appName.aab androidkey -signedjar appName_signed.aab
  6. Upload AAB to the Play Store
Non riesco a salvare il progetto
انا عندي مشكلة في بناء التطبيق كلما اضغط علي تحميل التطبيق علي جهازي تظهر رسالة مكتوب فيها التطبيق كبير وحجمه اكبر من 30 (the application is large and its size is greater than 30)
Too much pictures
How can i edit manifest file?
Publishing on anywhere
I have big size project with 228 files [ size 600 mb ] need help to build it and make it offline
How do I package projects larger than 50 MB?
Making the project has more space not only 30mb
App size manager
PLEASE HELP ME - Failed to compile the app in .apk
Can not upload AIA file
Error de compilación mensaje rojo ERROR DEL SERVIDOR
Upload files up to 1 GB
Canvas: trying to draw too large
Tocador de Músicas
Wifi extension/available SSIDs
Activity with no screen
Beginner question, supported Formats
No es posible generar .apk y descargarlo mediante QR en MIT AI2 Companion
No es posible generar .apk y descargarlo mediante QR en MIT AI2 Companion
FAQ Section: .apk Tools
Managing big files in aia and apk
Save Project As error try again later
Publishing problem because of location
What happens in the background of MIT app inventor compile?
Abb no puedo firmar / i can't sign abb
App size problems after AABs become mandatory from Aug 2021
Testing the next release of MIT App Inventor (nb187)
App size problems after AABs become mandatory from Aug 2021
A server error problem
Problemas con la exportacion
Ηow can I install the apk and automatically copy a external file (.txt,csv) into the phone?
Hi help me plz my data more thane 70 MP
Hi help me plz my data more thane 70 MP
Want to download my app.‏
App inventor not able to compile apk
Need some help with app for search local image
I am not able to download the apk file. When it is 100%, it doesnt do anything and just be 100%. What should I do?
App inventor cannot export my file it said my file are too large
Is the keyStore unique for all my projects?
How to unzip file in internal storage?
permission.PROCESS_OUTGOING_CALLS google reject
How to unzip file in internal storage?
Is it possible to generate a file larger than 10Mb?
Is it possible to generate a file larger than 10Mb?
Pdf files download online and automatic forwarded to the asset
How to modify an Appybuilder offline app to be API 29 ready?
App size limit help
Compile Error after new keystore file
Charger des fichiers MP3
Build apk whitout internet permission
Download images from google drive
USB Permission Popup... Every time. (Serial component)
How do I save a track with the voce and the karaoke sono in the internal memory?
Play mp3 from external source
Sign Sertificate Different with old one
Help with Video Player
File manifest.xml
Long sound files don't work
How to uninstall other apps
Error App Inventor
There seems to be a problem with uploading media files
Publish app to google playstore
Build the large APK
Trying to build an app of 60 MB fails
Can I upload apps in mit to stores other than play store
Too much pictures
Is it possible to generate a file larger than 10Mb?
Keystore.jks to android.keystore
Can i make an app up to only 30 mb?
Cuantos mb maximos pueden tener las apk?
I have 2 problems, downloading apk and reaching the (ai2-test server) site
Size limit of an app developed using AI2 and multimedia files Question
API version detected by the Google Play Store
Heavily coded app
Too many mp3 files... Project too big
Read .pdf File from Documents Folder
Errore di caricamento
The API Call urlfetch.Fetch() was explicitly cancelled
Playing wave files sequentially issue
Can't build my apk file
Error al generar el apk
Load documents into app
Following a release approval : REQUEST_INSTALL_PACKAGES issue
Error 908: The permission BLUETOOTH.CONNECT has been denied (on Android ≤ 10)
Still problems with the .aia file not loading due to too many files in the media section
Uploading audio file doesn't work
'android:exported' property
Apptomarket on windows xp
Target API level 31
Sorry, cannot package projects larger than 30 MB Local Instance
Inventor app memory problem
Inventor app memory problem

thank you!
added to the list of solutions here How to overcome the App Inventor project limit of 10 MB

Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


java -cp “*” --inputZipFile %inputfile% --userName %username% --outputDir %outputdir% --dexCacheDir %dexcache%

@Yong_Tang please kindly elaborate, what exactly you like to tell us with that snippet
Thank you


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

1 Like

To build using ant:

To run build server:
ant RunLocalBuildServer

To test server:
POST of file to http://localhost:9990/buildserver/build-from-zip -> file. Something like the following works:
curl --data-binary @$HOME/MyDownloads/ --output foo.apk --dump-header headers.out

To run standalone zip file builder:

ant RunMain -Dzip.file=$HOME/MyDownloads/$USER -Doutput.dir=/tmp

**no 10M limit.**

*.aia = *.zip
ant RunMain -Dzip.file=$HOME/MyDownloads/ImageUpload.aia$USER -Doutput.dir=/tmp

Nice information that we know well enough.
What are you trying to tell us in an “educational way”?

1 Like

Apk Editor Studio can REsign app with another keystore? not with AI2 keystore?


Thank Anke
...I don't understand, let me explain:
I already have an'App on Play Store since 2012
I work on AI2 then compile my apk
Once I always signed it by Marketizer then App to Market by my certificate "myApp.ks"
If i try with APK EStudio, I get an error

Error: Invalid or corrupt jarfile C:/myApp.ks

clearly I have inserted the file in the setting of apk editor studio in apksigner path:

Have you some idea?


If you have added your .ks file to Apksigner path: then it's wrong..

Click on reset button + Apply

Now click on Open key manager, point to the path of your .ks, fill in pass etc. and try again..

1 Like

Now I understand
I had already tried to open the key manager but seeing the buttons "create" I thought it was a generator of new certificates
Many thanks Boban, you are always precious! and thanks Anke too!

Hi Boban,
Can I use APK Editor Studio to replace App To Market? I cannot recompile my AI2 app in App To Market after last release of AI2.

Why this question? I showed in the video that it works. So just give it a try ...

Thank you.

  • Your video was post on Jan 24. I am not sure if it still work after the last AI2 release. (My app worked fine in App To Market before this month).
  • In fact I did watch your video, but it had no audio or subtitle and the screen changed too fast for me. Maybe that's because I have not used APK Editor Studio and thus not familiar with the screen shot. Will try again.

QUESTION: Can I migrate the keystore from App To Market to APK Editor Studio? I think changing keystore will cause problem with Google Play.

Thank you very much for the help. Sorry, I did not pay attention from the first time, and I thank you for sending the solution again

I made a dutch tutorial on my website about this.


Note : I added Part 2 on how to build a big app → AAB & sign it to my guide.
It takes less than 1 minute to insert large files into the assets and sign the AAB .

(added to FAQ)

1 Like