title: Android ClassNotFoundException: Didn't find class on path
body: <p>I can't find the solution of this error. Can you please give the permanent solution? I have no idea how to solve it.</p>
  <pre><code>01-04 11:06:42.302: E/AndroidRuntime(1906): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{e.gochat/e.gochat.gochat.MainActivity}: java.lang.ClassNotFoundException: Didn't find class &quot;e.gochat.gochat.MainActivity&quot; on path: DexPathList[[zip file &quot;/data/app/e.gochat-1.apk&quot;],nativeLibraryDirectories=[/data/app-lib/e.gochat-1, /vendor/lib, /system/lib]]
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2102)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.app.ActivityThread.access$700(ActivityThread.java:135)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.os.Handler.dispatchMessage(Handler.java:102)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.os.Looper.loop(Looper.java:137)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.app.ActivityThread.main(ActivityThread.java:4998)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at java.lang.reflect.Method.invokeNative(Native Method)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at java.lang.reflect.Method.invoke(Method.java:515)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at dalvik.system.NativeStart.main(Native Method)
  01-04 11:06:42.302: E/AndroidRuntime(1906): Caused by: java.lang.ClassNotFoundException: Didn't find class &quot;e.gochat.gochat.MainActivity&quot; on path: DexPathList[[zip file &quot;/data/app/e.gochat-1.apk&quot;],nativeLibraryDirectories=[/data/app-lib/e.gochat-1, /vendor/lib, /system/lib]]
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2093)
  01-04 11:06:42.302: E/AndroidRuntime(1906):     ... 11 more
  01-04 11:07:06.772: I/Process(1906): Sending signal. PID: 1906 SIG: 9
   
  </code></pre>
  <p>This is my app <strong>Manifest XML</strong></p>
  <pre><code>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  package=&quot;e.gochat&quot;
  android:versionCode=&quot;1&quot;
  android:versionName=&quot;1.0&quot; &gt;
  
  &lt;uses-sdk
      android:minSdkVersion=&quot;9&quot;
      android:targetSdkVersion=&quot;18&quot; /&gt;
  &lt;permission
      android:name=&quot;e.gochat.permission.C2D_MESSAGE&quot;
      android:protectionLevel=&quot;signature&quot; /&gt;
  
  &lt;uses-permission android:name=&quot;e.gochat.permission.C2D_MESSAGE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.GET_ACCOUNTS&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.WAKE_LOCK&quot; /&gt;
  &lt;uses-permission android:name=&quot;com.google.android.c2dm.permission.RECEIVE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.READ_CONTACTS&quot; /&gt;
   
  &lt;application
      android:name=&quot;e.gochat.Common&quot;
      android:allowBackup=&quot;true&quot;
      android:icon=&quot;@drawable/ic_launcher&quot;
      android:label=&quot;@string/app_name&quot;
      android:theme=&quot;@style/AppTheme&quot; &gt;
     
      
      &lt;activity
          android:name=&quot;e.gochat.MainActivity&quot;&gt;
          &lt;intent-filter&gt;
              &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
  
              &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
       &lt;activity android:name=&quot;e.gochat.ChatActivity&quot; 
          /&gt;
      &lt;activity
          android:name=&quot;e.gochat.SettingsActivity&quot;
          android:label=&quot;@string/title_activity_settings&quot; /&gt;
      &lt;receiver
          android:name=&quot;e.gochat.client.GcmBroadcastReceiver&quot;
          android:permission=&quot;com.google.android.c2dm.permission.SEND&quot; &gt;
          &lt;intent-filter&gt;
              &lt;action android:name=&quot;com.google.android.c2dm.intent.RECEIVE&quot; /&gt;
  
              &lt;category android:name=&quot;e.gochat&quot; /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
      &lt;provider
          android:name=&quot;e.gochat.DataProvider&quot;
          android:authorities=&quot;e.gochat.provider&quot; 
          android:exported=&quot;false&quot;&gt;
      &lt;/provider&gt;
     
      
  &lt;/application&gt;
  </code></pre>
  
   I'm not sure what's wrong here. I've added the .jar file in the java build path. And yet I'm getting this classnotfound exception. The app loads when I import the android.app.Application