如图所示,不知道为什么报这个错误,google上也没有搜索到相关的信息。
解决方案 »
- 移动互联网项目基础知识!
- 大家帮帮忙,怎么监听ExpandableListView子元素的点击动作
- Android 应用程序之间数据共享—ContentProvider
- ERROR:Attempting to call cordova.exec() before 'deviceready'.Ignoring
- 哪有"hello android" 之类的教程?
- 向XML文件添加子元素
- 做android在cocos2d框架下的开发,虚拟机运行没问题,nexus5运行不出错但没有图像。
- cocos2dx精灵帧缓存问题
- 怎么样将一个图片的隐藏与否作为条件?
- 大家觉得这个想法能做到吗?
- 导入android程序时遇到了问题
- 为什么android不用swing的控件
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<Button
android:id="btn_dlg"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/text_dlg"/>
</LinearLayout>
错误提示:
Gradle: String types not allowed (at 'id' with value 'btn_dlg').