简体   繁体   中英

"Not enough storage space" when installed with Dynamic Feature Module (App Bundle)

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

Sorry, cannot comment because don't have enough reputation anymore.

No, don't use the SD card.

Unity is added as a library so everything is Unity default logic. Have to dig deeper into the Unity source code and see if able to find a place where is a file path.

Compiling the same code from different machines and the result is different. From some machines, unity doesn't give that error and everything works correctly but from some machines, unity gives that error. Tested APK with different mobile devices, if error then different mobile devices give that error, is no error then it works in different devices. Deleted also Android Studio with all settings and installed again but no success. No idea why compiling code from some machines this error occurs.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM