Issue
I uploaded local photos in drawable files. The photos are approximately 3 mb in size. Its showing this error. However The problem panel shows analizing for 15 minutes till now and it is still showing it. What could be the possible reason for such errors.
Solution
There are a few conventions used in resources:
- For resources that exist as separate files, they must be lower_case_underscore_separated. The appt tool makes sure that your files are only lower-case, because using mixed case can cause issues on case-insensitive filesystems.
- For resources declared only in values/... (attributes, strings, etc) the convention is generally mixedCase.
- There is a convention used sometimes to tag names with a "classification" to have simple namespaces. This is for example where you see things like layout_width and layout_alignLeft. In a layout file the attributes for both the View and the parent layout management are mixed together, even though they are different owners. The "layout_*" convention ensures that there are no conflicts between these names and it is easy to understand which entity the name impacts.
For more information here is the complete discussion. Are there conventions on how to name resources?
Answered By - AlixaProDev
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.