error: Error: No resource found that matches the given name (at ‘text’ with value ‘@string/ bestscore’). 这是因为在res/values/strings.xml中没有相应匹配的键值对。 增加键值<string name="bestscore">Bestscore</string>就可以了。