error: Error: No resource found that matches the given name (at 'text' with value '@string/
2013-05-11 18:51
771 查看
错误提示:error: Error: No resource found that matches the given name (at 'text' with value
'@string/
hello2').
解决方法:
在/res/values/strings.xml 添加上你问题里面补充的内容就可以了
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">这是第一个Activity。</string>
<string name="hello2">这是第二个Activity。</string>
<string name="app_name">Examples_03_04</string>
</resources>
'@string/
hello2').
解决方法:
在/res/values/strings.xml 添加上你问题里面补充的内容就可以了
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">这是第一个Activity。</string>
<string name="hello2">这是第二个Activity。</string>
<string name="app_name">Examples_03_04</string>
</resources>
相关文章推荐
- 关于error: Error: No resource found that matches the given name (at 'text' with value '@string/hello')
- Error: No resource found that matches the given name (at 'theme' with value '@style/ AppTheme').
- Android studio b Error: No resource found that matches the given name (at 'src' with value '@dra...
- No resource found that matches the given name (at 'drawab' with value '@drawable/你的资源').
- No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_friend
- AndroidManifest.xml:10: error: Error: No resource found that matches the given name (at 'icon' with
- No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/ history_child_
- Error:(26, 34) No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/b
- 找不R文件切且报 no resource found that matches the given name(“at ' layout_above ' with value ' @id/text_p'
- 怎样解决错误:error: Error: No resource found that matches the given name (at 'layout_toLeftOf' with value
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Error:No resource found that matches the given name (at 'icon' with value '@mipmap/ic_launcher.9').
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Error: No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/p
- 关于Android报错:error: Error: No resource found that matches the given name (at 'label' with value)
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_frien
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No sources that matches the given name (at 'layout_toLeftOf' with value '@id/
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind