Android Application Crashes ActivityManager permission Denied on Eclipse
<p>My Application is crashing every time when I Run it. only HelloWorld app runs fine.<br>
It says Activity Manager permission denied. Please have a look.</p>

<blockquote>
  <p>Console :<br>
   1.[2016-04-18 17:21:21 - Demo] ActivityManager: open: Permission denied<br>
  1. [2016-04-18 17:21:21 - Demo] ActivityManager:</p>
  
  <p>Starting: Intent 
      act=android.intent.action.MAIN cat=
      [android.intent.category.LAUNCHER]
      cmp=com.example.demo/.MainActivity </p>
</blockquote>

<p>and here is my LogCat File..
<a href="http://pastebin.com/Lfd8Ya1c" rel="nofollow">Android LogCat</a></p>

<p>And Here is my <strong>MainActivity.java</strong></p>

<pre><code>public class MainActivity extends Activity implements OnClickListener {
EditText et = (EditText)findViewById(R.id.editText1);
Button btn = (Button)findViewById(R.id.button1);
TextView tv = (TextView)findViewById(R.id.textView1);

@Override
protected void onCreate(Bundle savedInstanceState) {
btn.setOnClickListener(this);

super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}

@Override
public void onClick(View v) {
tv.setText(et.getText().toString());
}}
</code></pre>

<p>and Here is my <strong>Manifest File</strong>.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.demo"
 android:versionCode="1"
android:versionName="1.0" &gt;

&lt;uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" /&gt;

&lt;application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"&gt;
&lt;activity
android:name=".MainActivity"
android:label="@string/app_name" &gt;

&lt;intent-filter&gt;
&lt;action android:name="android.intent.action.MAIN" /&gt;                
&lt;category android:name="android.intent.category.LAUNCHER" /&gt;
&lt;/intent-filter&gt;
&lt;intent-filter&gt;&lt;/intent-filter&gt;
&lt;/activity&gt;
&lt;/application&gt;
&lt;/manifest&gt;
</code></pre>