开发者

Deleted entries from R.string and now all strings are wrong?

开发者 https://www.devze.com 2023-04-03 14:00 出处:网络
I\'ve had this issue before but was able to revert to a previous backup - this time no such luck. I deleted a key entries in the R.strings.xml and now all the strings in my program 开发者_如何学运维a

I've had this issue before but was able to revert to a previous backup - this time no such luck.

I deleted a key entries in the R.strings.xml and now all the strings in my program 开发者_如何学运维are incorrect as if the memory address has changed and its retrieving them in the wrong order -- is there as simple fix to this besides inserting an older copy of strings.xml??


Probably problem of generated R.java and id's stored there.

Try:

1) delete gen folder in Package explorer, Exlipse will shortly recreate this (rebuild resources and string id's)

2) Use Menu->Project->Cleanup to completely rebuild your project.

0

精彩评论

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

关注公众号