title: Cannot start new Activity, says it's not declared on Manifest
body: <p>I've seen a lot of posts vey similar to this one, but I can't figure out what's wrong yet.</p>
  
  <p>Here's part of the logcat:</p>
  
  <pre><code>10-30 20:37:52.510  11225-11225/com.timetodev.prototipoulsa E/AndroidRuntime﹕ FATAL EXCEPTION: main
  Process: com.timetodev.prototipoulsa, PID: 11225
  android.content.ActivityNotFoundException: Unable to find explicit activity class {/com.timetodev.prototipoulsa.Home}; have you declared this activity in your AndroidManifest.xml?
  </code></pre>
  
  <p>And my AndroidManifest.xml:</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.timetodev.prototipoulsa" &gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@drawable/icon"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name=".Login"
          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=".Home"
          android:label="@string/title_activity_home" &gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>I've also tried android:name="com.timetodev.prototipoulsa.Home"</strong></p>
  
  <p>Here's part of the code where I do the Intent.</p>
  
  <pre><code>public class Login extends Activity {
  Button btnLogin;
  private EditText usernameField,passwordField;
  private TextView loginErrorMsg;
  Intent intent = new Intent(Login.this, Home.class);
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_login);
      usernameField = (EditText)findViewById(R.id.username);
      passwordField = (EditText)findViewById(R.id.password);
      btnLogin = (Button) findViewById(R.id.btn_login);
      loginErrorMsg = (TextView) findViewById(R.id.loginErrorMsg);
       /*Evento para Login*/
      btnLogin.setOnClickListener(new View.OnClickListener(){
          public void onClick(View view){
              if( (!usernameField.getText().toString().equals("")) &amp;&amp; ( !passwordField.getText().toString().equals("")) ){
                  String username = usernameField.getText().toString();
                  String password = passwordField.getText().toString();
                  if(doLogin(username, password)){
                      loginErrorMsg.setText("");
                      Toast.makeText(getApplicationContext(),"Conectado",Toast.LENGTH_SHORT).show();
                      startActivity(intent);
                  }else{
                      loginErrorMsg.setText("Datos incorrectos");
                  }
              }
              else if( ( !usernameField.getText().toString().equals("")) ){
                  Toast.makeText(getApplicationContext(), "Campo de contraseña vacío", Toast.LENGTH_SHORT).show();
              }
              else if( ( !passwordField.getText().toString().equals("")) ){
                  Toast.makeText(getApplicationContext(),"Campo de matrícula vacío", Toast.LENGTH_SHORT).show();
              }
              else {
                  Toast.makeText(getApplicationContext(), "Campos de matrícula y contraseña vacíos", Toast.LENGTH_SHORT).show();
              }
          }
      });
  }
  
  public boolean doLogin(String username,String password){
      if (username.equals("admin") &amp;&amp; password.equals("admin"))
          return true;
      else
          return false;
  }
  </code></pre>
  
  <p>Here's XML code in case it's useful.</p>
  
  <pre><code>&lt;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:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  android:paddingBottom="@dimen/activity_vertical_margin"
  tools:context=".Login"&gt;
  
  
  
  &lt;EditText
      android:layout_width="300dp"
      android:layout_height="wrap_content"
      android:id="@+id/username"
      android:hint="Matrícula"
      android:layout_centerVertical="true"
      android:layout_centerHorizontal="true"
      android:inputType="text" /&gt;
  
  &lt;EditText
      android:layout_width="300dp"
      android:layout_height="wrap_content"
      android:id="@+id/password"
      android:hint="Contraseña"
      android:layout_below="@+id/username"
      android:layout_alignStart="@+id/username"
      android:layout_marginTop="10dp"
      android:inputType="textPassword" /&gt;
  
  &lt;Button
      android:layout_width="200dp"
      android:layout_height="wrap_content"
      android:text="Iniciar sesión"
      android:id="@+id/btn_login"
      android:layout_below="@+id/password"
      android:layout_centerHorizontal="true"
      android:background="#ff66a3ff"
      android:textColor="#ffffffff"
      android:layout_marginTop="10dp" /&gt;
  
  &lt;ImageView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/imageView"
      android:src="@drawable/logo"
      android:layout_alignParentTop="true"
      android:layout_alignStart="@+id/btn_login"
      android:layout_marginTop="30dp" /&gt;
  
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textAppearance="?android:attr/textAppearanceSmall"
      android:text="Creado por Fernando Salas"
      android:id="@+id/credit"
      android:layout_alignParentBottom="true"
      android:layout_centerHorizontal="true" /&gt;
  
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textAppearance="?android:attr/textAppearanceMedium"
      android:id="@+id/loginErrorMsg"
      android:layout_below="@+id/btn_login"
      android:layout_centerHorizontal="true"
      android:layout_marginTop="32dp"
      android:textColor="#ffff453d" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>