title: Having issues with declaring activity in Manifest
body: <p>I have two projects. test1 is a library. Whenever I try to open the activity in test1, I get an error saying Unable to find explicit activity class, have you declared this activity in your AndroidManifest.xml. Here are the files I'm working with.</p>
  
  <p>test2.xml</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.test2"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="8"
      android:targetSdkVersion="15" /&gt;
  
  &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name=".MainActivity"
          android:label="@string/title_activity_main" &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;activty
          android:name="com.example.test1.OtherActivity"/&gt;
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>test2's MainActivity.java</p>
  
  <pre><code>package com.example.test2;
  
  import android.app.Activity;
  import android.content.Intent;
  import android.os.Bundle;
  import android.view.Menu;
  import android.view.MenuItem;
  
  public class MainActivity extends Activity {
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  }
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      menu.add(Menu.NONE, 1, Menu.NONE, "Go to Library Project");
      return true;
  }
  
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
      final Intent intent = new Intent(this, com.example.test1.OtherActivity.class);
      startActivity(intent);
  
      return true;        
  }
  </code></pre>
  
  <p>}</p>