logcat里面肯定有错误信息的。

解决方案 »

  1.   

    看了下,你的layout的ListView这个id怎么是大写的List,看看ddms中的logcat比较靠谱
      

  2.   

    debug调试一下看看
    多加些Log输出
      

  3.   

    ....大哥,您这个是ListActivity,你加textview哪儿行
      

  4.   


    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
    <EditText
    android:id="@+id/search_edit"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    >
    </EditText>
    <ListView
    android:id="@android:id/list"
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content"
    >
    </ListView>
    </LinearLayout>ListView要有
      

  5.   

    4楼提醒的对,是ListActivity,就不用setContentView了,直接为ListView设置Adapter就ok了。setListAdapter()