Issue
I'm trying to run my Android Studio app on an emulator, but the build fails giving the error "Too many entries (82961)". The number contained in parenthesis changes. That's all the information I am given. This seems undocumented.
The number inside of the parenthesis in the error changes.
Update: I checked if this was a rewording of "too many field references". In which the number of methods exceeds 65,536. I tried removing unused dependencies and multi-dexing. This did not solve the error.
Update: I removed a large file system from the app that totaled about 91,196 files (this is close to the "Too many entries(91,740)"). I believe that the number is a count of the files in the project. removing a large file system contained in the project removes the issue.
I'm hoping that there is an alternative solution besides decreasing that file tree's size.
Update: All evidence suggests that the too meany entries appears when the file tree grew too large. There's is a cap on the number of files that can be contained in a project.
Solution
There is a cap to how many files can be contained in a project
Answered By - mystack
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.