title: Android: Can't find activity in the Manifest, but it IS there?
body: <p>And i can't figure out why! I checked logcat and i saw that the reason it crashed was because it isn't finding the Activity in the manifest file for some unknown reason.</p>
  
  <p>I've looked at similar threads but none of the answers seem to work for me.</p>
  
  <p>Here's the code where i start the activity:</p>
  
  <pre><code>public class MainActivity extends Activity {
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          //setContentView(R.layout.main);
  
          Intent ntnt = new Intent(MainActivity.this, SettingsActivity.class);
          startActivity(ntnt);
  
      }
  }
  </code></pre>
  
  <p>And the manifest file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="se.jbhalmstad.ndroid"
        android:versionCode="1"
        android:versionName="1.0"&gt;
      &lt;uses-sdk android:minSdkVersion="7" /&gt;
  
      &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&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;/activity&gt;
  
          &lt;activity android:name=".SettingsActivity"&gt;&lt;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>As you can see i declared the SettingsActivity that i'm trying to start, at the bottom of the Manifest, inside of the  tag.</p>
  
  <p>I might be blind, but i can't find anything wrong. Can you?</p>
  
  <p>Let me know if you need more source, but the SettingsActivity should be irrelevant because it doesn't get that var when i run the program.</p>
  
  <hr>
  
  <h2>Source code</h2>
  
  <p>If you want to take a closer look, here's the entire source code.</p>
  
  <p><a href="http://www.speedyshare.com/files/30343046/project.zip" rel="nofollow">http://www.speedyshare.com/files/30343046/project.zip</a></p>