title: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo/ ClassNotFoundException
body: <p>I'm develop android application and than i wanna additional new Activity i had error on my logcat</p>
  
  <p>My LogCat:</p>
  
  <pre><code>04-19 12:59:17.654: D/AndroidRuntime(18135): Shutting down VM
  04-19 12:59:17.654: W/dalvikvm(18135): threadid=1: thread exiting with uncaught exception (group=0x4001d878)
  04-19 12:59:17.684: E/AndroidRuntime(18135): FATAL EXCEPTION: main
  04-19 12:59:17.684: E/AndroidRuntime(18135): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.bvblogic.android.batterypower/com.bvblogic.android.batterypower.activities.UnlockActivity}: java.lang.ClassNotFoundException: com.bvblogic.android.batterypower.activities.UnlockActivity in loader dalvik.system.PathClassLoader[/data/app/com.bvblogic.android.batterypower-1.apk]
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2587)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2681)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.app.ActivityThread.access$2300(ActivityThread.java:125)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.os.Handler.dispatchMessage(Handler.java:99)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.os.Looper.loop(Looper.java:123)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.app.ActivityThread.main(ActivityThread.java:4640)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at java.lang.reflect.Method.invokeNative(Native Method)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at java.lang.reflect.Method.invoke(Method.java:521)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at dalvik.system.NativeStart.main(Native Method)
  04-19 12:59:17.684: E/AndroidRuntime(18135): Caused by: java.lang.ClassNotFoundException: com.bvblogic.android.batterypower.activities.UnlockActivity in loader dalvik.system.PathClassLoader[/data/app/com.bvblogic.android.batterypower-1.apk]
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2579)
  04-19 12:59:17.684: E/AndroidRuntime(18135):    ... 11 more
  </code></pre>
  
  <p>My manifest.xml</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.bvblogic.android.batterypower"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="8" /&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.BATTERY_STATS" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /&gt;
      &lt;uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
      &lt;uses-permission android:name="android.permission.BLUETOOTH" /&gt;
      &lt;uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_SETTINGS" /&gt;
      &lt;uses-permission android:name="android.permission.HARDWARE_TEST" /&gt;
      &lt;uses-permission android:name="android.permission.RESTART_PACKAGES" /&gt;
      &lt;uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /&gt;
      &lt;uses-permission android:name="android.permission.GET_PACKAGE_SIZE" /&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
      &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /&gt;
  
      &lt;application
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity android:name=".activities.UnlockActivity"&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="com.bvblogic.android.batterypower.activities.BatteryPowerTabActivity" &gt;
          &lt;/activity&gt;
          &lt;activity android:name="com.bvblogic.android.batterypower.activities.MonitoringActivity" &gt;
          &lt;/activity&gt;
          &lt;activity android:name="com.bvblogic.android.batterypower.activities.SettingsActivity" &gt;
          &lt;/activity&gt;
          &lt;activity android:name="com.bvblogic.android.batterypower.activities.ProcessManagerActivity" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.bvblogic.android.batterypower.activities.DummyBrightnessActivity"
              android:excludeFromRecents="true"
              android:taskAffinity="com.bvblogic.android.batterypower.Dummy"
              android:theme="@android:style/Theme.Translucent.NoTitleBar" &gt;
          &lt;/activity&gt;
  
          &lt;service android:name="com.bvblogic.android.batterypower.util.TurboBoost" &gt;
          &lt;/service&gt;
          &lt;service android:name="com.bvblogic.android.batterypower.services.BatteryPowerService" /&gt;
  
          &lt;receiver
              android:name="com.bvblogic.android.batterypower.alarm.RegistrationAlarm"
              android:process=":registration" &gt;
          &lt;/receiver&gt;
          &lt;receiver
              android:name="com.bvblogic.android.batterypower.alarm.OnlinePingAlarm"
              android:process=":ping" &gt;
          &lt;/receiver&gt;
          &lt;receiver
              android:name="com.bvblogic.android.batterypower.alarm.AdNotificationAlarm"
              android:process=":remote" &gt;
          &lt;/receiver&gt;
          &lt;receiver
              android:name="com.bvblogic.android.batterypower.widget.MWidgetProvider"
              android:icon="@drawable/btn_remove"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.appwidget.action.APPWIDGET_UPDATE" /&gt;
              &lt;/intent-filter&gt;
  
              &lt;meta-data
                  android:name="android.appwidget.provider"
                  android:resource="@xml/widget_provider" /&gt;
          &lt;/receiver&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>My Activity:</p>
  
  <pre><code>package com.bvblogic.android.batterypower.activities;
  
  import com.bvblogic.android.batterypower.R;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.util.Log;
  
  public class UnlockActivity extends Activity {  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          setContentView(R.layout.settings_auto_saving_layout);
      }
  }
  </code></pre>
  
  <p>Then i'm assigned intent-filter to BatteryPowerTabActivity application started fine. Please help me. Thanks</p>