Android Drip---drawable paste pictures after the R file error, solve

Source: Internet
Author: User

When you paste a picture into your project today,

Just pasted the picture into the drawable file,

On the error, read the wrong hint found that I was careless when the file name,

Wrote a capital letter!


If you are in this situation, check the file name,

The file name can only contain, a-z,0-9 and _

No other characters are allowed!


And I changed the letter to lowercase, or an error,

I haven't found any other capital letters for half a day!


Finally found in the file name of the last write a space! Space! Space!


Note that if you find that you have no uppercase and other characters, see if there are any spaces!


I have a hole in my own!



Android Drip---drawable paste pictures after the R file error, solve

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.