开发者

i got error when open xml file in eclipse [duplicate]

This question already has answers here: Eclipse and Android XML layouts gives "'default' is not a best match for any device/locale combination" (3 answers) Closed 9 years ago.

In Eclipse i got an error in console, When i am opening the two different name xml files(means A and B are 2 xml fi开发者_运维问答le. They have same data) with same data.

I got the following error in console. Why this error came.

How to handle it?

[2011-07-20 15:04:03 - RoadBrake] 'default' is not a best match for any device/locale combination.

[2011-07-20 15:04:03 - RoadBrake] Displaying it with 'Locale Language ___Region __, Small Screen, Short screen aspect ratio, Portrait Orientation, No Dock, Day time, Low Density, Finger-based touchscreen, Soft keyboard, No keyboard, Exposed navigation, No navigation, Screen resolution 320x240' which is compatible, but will actually be displayed with another more specific version of the layout.


Generally work if you use Project->Clean.


I got the same problem.

Try to make "Project/Clean", and restart eclipse.

In my case, the problem was a "losed drawable"(Custombutton.xml+2images)


if you have add additional jar file it may change to display this error. Please check this Properties->java Build path->Order and export make sure related .jar is marked.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜