I have a unity project (exported using Unity 2019.3) installed dynamically with DFM of Android App Bundle and uploaded it to google play for internal testing, the dynamic module is downloading fine on demand but when I run UnityActivity I encounter the following error:"Not enough storage space to install required resources" even though I have lot of free space in my mobile device. What I am missing here? Screenshot
Dynamic feature modules allow you to separate certain features and resources from the base module of your app and include them in your app bundle. Through Dynamic Delivery, users can later download and install those components on demand after they've already installed the base APK of your app.
Most app projects won't require much effort to build app bundles that support serving optimized APKs using Dynamic Delivery. For example, if you already organize your app's code and resources according to established conventions, you can build signed Android App Bundles using Android Studio and upload them to Google Play.
What are on demand modules Dynamic feature modules allow you to separate certain features and resources from the base module of your app and include them in your app bundle. Through Dynamic Delivery, users can later download and install those components on demand after they've already installed the base APK of your app.
Android App Bundle is a new upload format (aab) which contains all types of codes and resources. Once you upload the aab file to PlayStore, PlayStore will build Apks that are optimized to each device or OS version.
Please check if src/main/assets/bin/Data/ exists and contains contents from unity. What normally happens it's the default gitignore in a vcs project will ignore bin folders and thats right except in unity projects.
We just solved a "not enough storage space to install required resources" error thanks to firetrap answer. Thank you so much!
We had just to white listed "unityLibrary/src/main/assets/bin" folder (that default android studio .gitignore ignored). We were building on a Jenkins server and that folder was not being pushed from the machine we used to export the Unity project to the server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With