Intent e=new Intent(this,test.class);//这一句总是有错。
你调用的constructor是这个吧。Intent(Context packageContext, Class<?> cls)
你看通过它说的错误,我感觉你传进去的this,并不是context的,也就是说不是activity的context.
The constructor Intent(new View.OnClickListener(){}, Class<test>) is undefined
因为你是在回调方法中实现的,所以第一个参数:new View.OnClickListener(){},好像是出错的地方吧。就是说我认为是你Intent的第一个参数调用错了~~

解决方案 »

  1.   

    把这个<activity android:name=".test"
      android:label="test">
      <intent-filter>
      <action android:name="android.intent.action.MAIN" />
      <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
      </activity>  改成:
    <activity android:name=".test">  </activity>  
      

  2.   

    http://www.top-e.org/jiaoshi/html/?381.html 看看这个也许有帮助
      

  3.   

    Intent e=new Intent(this,test.class);
    改成:
    Intent e=new Intent(dailphone.this,test.class);//
      

  4.   

    4楼说的对,改成Intent e=new Intent(dailphone.this,test.class);就好了,谢谢各位。