简体   繁体   中英

Eclipse not auto-generating IDs from XML files for R.java

As far as I understand from the Android manual, IDs that contain the "+" (plus) sign automatically get generated in the corresponding R.java file in Eclipse. However, when I attempt to run my program, Eclipse says that the ID cannot be resolved and offers me as a possible solution to manually add that as an entry in the "id" file. But it puts the value of 0 as a default value.
How do I make it have a value just like the other IDs have their own hex value (ie 0x7f03000d)?

Check the files names in the folder res

They should not contain spaces or special characters and must be lowercase

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