Hey guys, how I can export an Android game with obb and data file? games that are more than 50mb for google play need obb and data cache, not just google play most of the stores don’t accept more than 200mb so if I want to make a game that is let’s say 500mb, I need to somehow prepare the set up file less than 50mb or 200mb and the rest as cache file (obb, data) for download, how it’s going to be done in UE4? tnx.
in project settings go to packaging and make sure full rebuild and for distrubition is checked. also on platform settings fill out those. i will explain that store version number at the end of this post.
full rebuild makes sure your game is packed fresh everytime you click package project, so before uploading to play store or appstore you’d want to check this.
for distrubition means it will write the distrubition signing to the apk file. google play requires you to sign your apk so you’ll need to make a keystore. you can find about it on here .
when you’re uploading to google store, i suggest you use a dummy apk first. until google decides to change this, you cannot upload obb file on first upload. meaning starting from your first update that obb will be enabled. it’s called expansion on play store and accepts up to 2gb per file. so dont freak out when you dont see upload button, cause i freaked at my first try
now here’s the part about store version i’d promised. there was a debate on many forums that app was not downloading obb files. when you type just 1, ue4 will give you a file starting with main.00001.com.whatever and google was deleting those zeros (00001=1) , so your app was not receieving anything. a guy suggested to use 1 instead of zeros which will make it a valid number and i saw many people confirming this method. i dont know if or when google decides to fix this and frankly i do not care. as you can see store version max number is 65535. a normal human being cannot come close to this number.
fyi; every update you’ll need to increase version number as well as store version.
welcome to mobile world, where every problem is relative and only the developer gets blamed. have fun!