Source attachment does not contain the source for the file view.class
<p>I am new to android and making a simple application of a temperature converter. i had placed 2 text views and a button on  the screen. i just wanted to saw that when i press  the button an event comes or not when i run the application no event came after pressing the button so i put it in debug mode then it gives a message</p>

<p><strong>Source Not Found:Source attachment does not contain the source for the file view.class</strong></p>

<p><em>Here is my code:</em></p>

<p><strong>Activity_main.Xml</strong></p>

<pre><code>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:background="@color/red"
    tools:context=".MainActivity" &gt;

    &lt;Button
        android:id="@+id/button1"
        style="@style/AppTheme"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_marginBottom="136dp"
        android:layout_marginLeft="94dp"
        android:onClick="onclick"
        android:text="@string/Button" /&gt;

    &lt;TextView
        android:id="@+id/textView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true"
        android:layout_marginLeft="34dp"
        android:layout_marginTop="38dp"
        android:text="@string/Large_Text"
        android:textStyle="italic" 
        android:textAppearance="?android:attr/textAppearanceLarge" /&gt;

    &lt;TextView
        android:id="@+id/textView2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/textView1"
        android:layout_below="@+id/textView1"
        android:layout_marginTop="42dp"
        android:text="@string/Large_Text1"
        android:textAppearance="?android:attr/textAppearanceLarge" /&gt;

    &lt;EditText
        android:id="@+id/editText2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/editText1"
        android:layout_alignParentRight="true"
        android:layout_alignTop="@+id/textView2"
        android:ems="10"
        android:inputType="numberSigned" &gt;

        &lt;requestFocus /&gt;
    &lt;/EditText&gt;

    &lt;EditText
        android:id="@+id/editText1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignTop="@+id/textView1"
        android:layout_toRightOf="@+id/button1"
        android:ems="10"
        android:inputType="numberSigned" /&gt;

&lt;/RelativeLayout&gt;
</code></pre>

<p><strong>Strings.Xml</strong></p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources&gt;

    &lt;string name="app_name"&gt;Converter&lt;/string&gt;
    &lt;string name="action_settings"&gt;Settings&lt;/string&gt;
    &lt;string name="hello_world"&gt;Hello world!&lt;/string&gt;
    &lt;string name="Button"&gt;Convert&lt;/string&gt;
   &lt;string name="Large_Text"&gt;Deg C&lt;/string&gt;
   &lt;string name="Large_Text1"&gt;Deg F&lt;/string&gt;
   &lt;color name="red"&gt;#D3D3D3&lt;/color&gt;
&lt;/resources&gt;
</code></pre>

<p><strong>Main_activity.java</strong></p>

<pre><code>package com.example.converter;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;



public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }

}
</code></pre>

<p><strong>I have created a classs1.java</strong></p>

<pre><code>package com.example.converter;

import android.app.Activity;
import android.widget.TextView;



public class Classs1 extends Activity{

public void onclick(){
    setContentView(R.layout.activity_main);
    TextView t = (TextView)findViewById(R.id.textView1);
    t.setText(4);

}

}
</code></pre>
