Android: Activity not found exception
<p>i am working in android. I want to make TabHost and Tab widget. this is my manifest:-</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.pericent"
      android:versionCode="1"
      android:versionName="1.0"&gt;
    &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
       &lt;activity android:name=".HelloTabWidget" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar" &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;Acivity android:name=".AlbumsActivity" android:label="@string/app_name" /&gt;
        &lt;activity android:name=".ArtistsActivity" android:label="@string/app_name" /&gt;

         &lt;Acivity android:name=".SongsActivity" android:label="@string/app_name" /&gt;
    &lt;/application&gt;
&lt;/manifest&gt; 
</code></pre>

<p>and this is my HelloTabWidget.java
package com.pericent;</p>

<pre><code>import android.app.TabActivity;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.util.Log;
import android.widget.TabHost;

public class HelloTabWidget extends TabActivity  {

    private String TAG="HelloTabWidget";

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        Resources res = getResources(); // Resource object to get Drawables
        TabHost tabHost = getTabHost();  // The activity TabHost
        TabHost.TabSpec spec;  // Resusable TabSpec for each tab
        Intent intent1;  // Reusable Intent for each tab
        Intent intent2;
        Intent intent3;

        intent2 = new Intent().setClass(this, AlbumsActivity.class);
        Log.v(TAG,"---album activity is called---");
        spec = tabHost.newTabSpec("albums").setIndicator("Albums",res.getDrawable(R.drawable.ic_tab_albums)).setContent(intent2);
        tabHost.addTab(spec);

        // Create an Intent to launch an Activity for the tab (to be reused)
                intent1 = new Intent().setClass(this, ArtistsActivity.class);
        Log.v(TAG,"---artist activity is called---");
        // Initialize a TabSpec for each tab and add it to the TabHost
        spec = tabHost.newTabSpec("artists").setIndicator("Artists",res.getDrawable(R.drawable.ic_tab_artists)).setContent(intent1);
        tabHost.addTab(spec);

        // Do the same for the other tabs

     }

}
</code></pre>

<p>whenever i run this project this create an error that "<strong>Unable to start activity ComponentInfo{com.pericent/com.pericent.HelloTabWidget}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.pericent/com.pericent.AlbumsActivity}; have you declared this activity in your AndroidManifest.xml?</strong>"</p>

<p>but as you see i declared this class in manifest file. please check this and help to find out the mistake which i have done.
Thank you in advance.</p>
