How to build a big app / APK: max. 100 MB (Play Store limit)

Steps to build an app (APK > 10 and ≤ 100 MB (PlayStore limit):

You can use eg APK Editor Studio or AppToMarket (update apktool.jar !) 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):

6 Likes

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


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

1 Like

Nice Tutorial! :relaxed:
It Will Help Many People :smiling_face_with_three_hearts:

1 Like

java -cp “*” com.google.appinventor.buildserver.Main --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

Taifun


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

1 Like

To build using ant:
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/ImageUpload.zip --output foo.apk --dump-header headers.out
http://localhost:9990/buildserver/build-from-zip?uname=$USER

To run standalone zip file builder:

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

**no 10M limit.**

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

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