This attribute must be localized错误
来源:互联网 发布:大数据平台架构模式 编辑:程序博客网 时间:2024/05/16 00:49
eclipse中编译没有问题,但是在make自己建立的项目的时候,
提示了错误“This attribute must be localized”,这种问题一般情况是因为在res/xml文件夹下的中
或者在res/layout下的文件中出现了没有多语言话的文本例如
<TextView
android:id="@+id/myTextView1"
android:text="type"
android:layout_width="fill_parent">
</TextView>
解决方式
在res/values/strings.xml中定义字符串
<string name="str_type">type</string>
然后把上面的内容改为
<TextView
android:id="@+id/myTextView1"
android:text="@string/str_type"
android:layout_width="fill_parent">
</TextView>
这是android强制实行多语言话
提示了错误“This attribute must be localized”,这种问题一般情况是因为在res/xml文件夹下的中
或者在res/layout下的文件中出现了没有多语言话的文本例如
<TextView
android:id="@+id/myTextView1"
android:text="type"
android:layout_width="fill_parent">
</TextView>
解决方式
在res/values/strings.xml中定义字符串
<string name="str_type">type</string>
然后把上面的内容改为
<TextView
android:id="@+id/myTextView1"
android:text="@string/str_type"
android:layout_width="fill_parent">
</TextView>
这是android强制实行多语言话
- This attribute must be localized错误
- This attribute must be localized”
- This attribute must be localized.错误解决方式
- This attribute must be localized.错误解决方式
- This attribute must be localized.错误解决方式
- This attribute must be localized.错误解决方式
- This attribute must be localized.错误解决方式
- This attribute must be localized.错误解决方式
- Error: This attribute must be localized. 解决方法
- Error: This attribute must be localized. 解决方法
- Error: This attribute must be localized. 解决方法
- 如何忽略Android资源编译错误 Error: this attribute must be localized.
- 如何忽略Android资源编译错误 Error: this attribute must be localized.
- 如何忽略Android资源编译错误 Error: this attribute must be localized.
- attribute value must be constant
- this must be done
- Parameter must be a descendant of this view 错误
- 出现错误 Element type "LinearLayout" must be followed by either attribute specification,">"or"/>"的解决办法
- Everything you never wanted to know about kobjects, ksets, and ktypes
- js取得汉字首字母,并转化成大写。兼容火狐。
- 用实例调用虚方法与抽象方法有什么不同
- VMware Workstation 桥接配置
- 一个非常好用的可拖动的jquery弹出层
- This attribute must be localized错误
- ASP.NET中实现动态曲线图的视频教程
- 新一代视频编码标准——H.265/HEVC简介
- 通达oa 2011 命令提示符登录mysql数据库 mysql -u root -P(张迅雷 原创)
- linux模块编程(一)——加载你的模块
- IOS Xcode模拟器查看日志
- Linq to SQL 语法及使用
- oracle结构 段>区段>数据块
- 指针