[Closed] Android apk size issue in UE 4.8
I have been making a game for android platform.
Then soon I realized that there's a really big issue of apk size for android games.
After googling a lot I found that there are many methods to reduce the apk size,but at max only 60 MB can be reduced.
My game is just like temple run or subway surfer,but final apk size I m getting is around 800 MB and no one gonna download this game for sure.
I m just curious to know that whether UE 4.8 has this issue fixed or optimized to some extent.
I m asking this question only because I don't have very fast internet connection.
asked Jul 21 '15 at 08:54 AM in Packaging & Deployment
The question has been closed Jul 22 '15 at 09:34 PM by wittlief for the following reason:
The last I heard, the UE4 APK size of TappyChicken was around 28Mb (compared to around 18Mb for an 'empty' Unity5 project) - I am sure some zealots will jump in here if I am wrong. On UE4 the native C++ engine code is what takes up the size (while on Unity it is the Mono runtime binaries and a few engine DLL's).
As far as I know, the same assets within an OBB should be approximately the same size regardless of the 'engine' used to generate the OBB (this is just a call to the Android NDK tool chain to pack/compress). Edit: see also https://answers.unrealengine.com/questions/70842/why-are-android-file-sizes-so-big.html
APK size only really matters if you were trying to get in under 50Mb and not use an OBB at all (sounds like no with the 800Mb mentioned above). Did you include the starter content in your project? (this is more than 300Mb).
The problem with Android is that there are various different devices that only work with specific compressed texture formats ATC, PVR, DXT, et al. When you package for Android you are given the option of choosing which texture format to pack for - the default option will package every texture multiple times.
When shipping for Android generally you upload multiple versions of your app - one for each texture format as described at http://developer.android.com/google/play/publishing/multiple-apks.html
UE4.8 Now supports OBB. This means you ship the code in the APK and the assets are downloaded automagically from google play when the game is first launched.
Follow this question
Once you sign in you will be able to subscribe for any updates here