开发者

Emulator and Phone restart in installation

开发者 https://www.devze.com 2023-03-22 20:37 出处:网络
I have an Android app with more 10.000 files in mp3, this files have a 2kb size. When I put in the folder, only 6.000 files, the installation is successful, but with the 10.000 files, the installatio

I have an Android app with more 10.000 files in mp3, this files have a 2kb size.

When I put in the folder, only 6.000 files, the installation is successful, but with the 10.000 files, the installation stops and the emu开发者_Go百科lator or Phone restarts and the app does not install.

Update:

The application is a dictionary with sound from words.


I don't know of any limit on the number of files you're allowed to put in the various directories in your res folder. But it seems as though you've found such a limit. You are probably going to have to take a different approach if you want to use all of those files. Perhaps do not include them packaged in with the app and download them all the first time the app runs? Why would you need 10,000 different mp3 files out of curiosity?


I think there is a size limit on APKs, I believe its either 25 or 50MB. This has to do with the way apps are installed.

0

精彩评论

暂无评论...
验证码 换一张
取 消