小编And*_*ner的帖子

找不到与main.xml中给定名称匹配的资源

这真的开始让我发疯.

<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@id+/textview"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:text="@string/hello"/> 
Run Code Online (Sandbox Code Playgroud)

产生以下错误消息:" Error: no resource found that matches the given name (at 'id' with value '@id+/textview').

这是从Android hello world 示例中复制和粘贴的 .

android

13
推荐指数
2
解决办法
2万
查看次数

标签 统计

android ×1