title: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
body: <p>I have android application. When I run or debug app on my eclipse it Works smoothly with 
  no error no warnings.After then I get apk for Google play. Useres are getting below errors when they downloaded it from Google play market. Please help me I was not able to solve this problem. It can not find some classes.</p>
  
  <p>This is errors which getting from developer console;</p>
  
  <pre><code>java.lang.NoClassDefFoundError: Failed resolution of: Lcom/versus/hit/yeni/JSONParser;
      at com.versus.hit.yeni.Signin$CheckUser.&lt;init&gt;(Signin.java:211)
      at com.versus.hit.yeni.Signin$2.onClick(Signin.java:121)
      at android.view.View.performClick(View.java:4785)
      at android.view.View$PerformClick.run(View.java:19858)
      at android.os.Handler.handleCallback(Handler.java:739)
      at android.os.Handler.dispatchMessage(Handler.java:95)
      at android.os.Looper.loop(Looper.java:155)
      at android.app.ActivityThread.main(ActivityThread.java:5696)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:372)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
  Caused by: java.lang.ClassNotFoundException: Didn't find class "com.versus.hit.yeni.JSONParser" on path: DexPathList[[zip file "/data/app/com.versus.hit.yeni-1/base.apk"],nativeLibraryDirectories=[/system/lib, /vendor/lib, system/vendor/lib, system/vendor/lib/egl, system/lib/hw]]
      at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
      ... 12 more
      Suppressed: java.lang.ClassNotFoundException: com.versus.hit.yeni.JSONParser
          at java.lang.Class.classForName(Native Method)
          at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
          at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
          ... 13 more
  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
  </code></pre>
  
  <hr>
  
  <pre><code>java.lang.NoClassDefFoundError: Failed resolution of: Lcom/versus/hit/yeni/JSONParser;
      at com.versus.hit.yeni.Signup.parseJson(Signup.java:384)
      at com.versus.hit.yeni.Signup.onCreateView(Signup.java:165)
      at android.support.v4.app.Fragment.performCreateView(Fragment.java:1478)
      at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:927)
      at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
      at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
      at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1460)
      at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:440)
      at android.os.Handler.handleCallback(Handler.java:739)
      at android.os.Handler.dispatchMessage(Handler.java:95)
      at android.os.Looper.loop(Looper.java:155)
      at android.app.ActivityThread.main(ActivityThread.java:5696)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:372)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
  Caused by: java.lang.ClassNotFoundException: Didn't find class "com.versus.hit.yeni.JSONParser" on path: DexPathList[[zip file "/data/app/com.versus.hit.yeni-1/base.apk"],nativeLibraryDirectories=[/system/lib, /vendor/lib, system/vendor/lib, system/vendor/lib/egl, system/lib/hw]]
      at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
      ... 16 more
      Suppressed: java.lang.ClassNotFoundException: com.versus.hit.yeni.JSONParser
          at java.lang.Class.classForName(Native Method)
          at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
          at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
          ... 17 more
  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
  </code></pre>
  
  <hr>
  
  <pre><code>java.lang.NoClassDefFoundError: Failed resolution of: Lcom/versus/hit/yeni/ACProgressFlower$Builder;
      at com.versus.hit.yeni.Signin$CheckUser.onPreExecute(Signin.java:236)
      at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:587)
      at android.os.AsyncTask.execute(AsyncTask.java:535)
      at com.versus.hit.yeni.Signin$2.onClick(Signin.java:123)
      at android.view.View.performClick(View.java:4785)
      at android.view.View$PerformClick.run(View.java:19858)
      at android.os.Handler.handleCallback(Handler.java:739)
      at android.os.Handler.dispatchMessage(Handler.java:95)
      at android.os.Looper.loop(Looper.java:155)
      at android.app.ActivityThread.main(ActivityThread.java:5696)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:372)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
  Caused by: java.lang.ClassNotFoundException: Didn't find class "com.versus.hit.yeni.ACProgressFlower$Builder" on path: DexPathList[[zip file "/data/app/com.versus.hit.yeni-1/base.apk"],nativeLibraryDirectories=[/system/lib, /vendor/lib, system/vendor/lib, system/vendor/lib/egl, system/lib/hw]]
      at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
      ... 14 more
      Suppressed: java.lang.ClassNotFoundException: com.versus.hit.yeni.ACProgressFlower$Builder
          at java.lang.Class.classForName(Native Method)
          at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
          at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
          ... 15 more
  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
  </code></pre>
  
  <hr>
  
  <p>This is my manifest;</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.versus.hit.yeni"
  android:versionCode="5"
  android:versionName="1.2.2" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="11"
      android:targetSdkVersion="22" /&gt;
  
   &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
        &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
        &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
           &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
           &lt;uses-permission android:name="android.permission.ACCESS_WIFI_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" &gt;
  
  
            &lt;activity android:name="com.versus.hit.yeni.SplashActivity"
          android:windowSoftInputMode="adjustPan"
          android:screenOrientation="portrait"
           android:theme="@android:style/Theme.NoTitleBar.Fullscreen" &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;intent-filter&gt;
                    &lt;action android:name="com.versus.hit.yeni.MY_ACTION" /&gt;
                      &lt;action android:name="android.intent.action.VIEW" /&gt;
                    &lt;category android:name="android.intent.category.DEFAULT" /&gt;
                    &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
  
                   &lt;data  android:scheme="versus" android:host="www.versushit.com" /&gt;
  
  
                &lt;/intent-filter&gt;
  
  
      &lt;/activity&gt;
  
  
      &lt;activity android:name="com.versus.hit.yeni.MainActivity"
          android:windowSoftInputMode="adjustPan"
          android:screenOrientation="portrait"
             android:theme="@style/Theme.Sherlock.Light.DarkActionBar" &gt;
  
  
      &lt;/activity&gt;
      &lt;activity android:name="com.versus.hit.yeni.SearchActivity"
  
             android:theme="@style/ACPLDialog" &gt;
  
      &lt;/activity&gt;
      &lt;activity android:name="com.versus.hit.yeni.PersonalPage"
  
          android:windowSoftInputMode="adjustPan"
             android:theme="@style/Theme.Sherlock.Light.DarkActionBar" &gt;
  
      &lt;/activity&gt;
       &lt;activity android:name="com.versus.hit.yeni.FollowActivity"
             android:theme="@style/ACPLDialog" &gt;
  
      &lt;/activity&gt;
  
  
        &lt;activity
          android:name="com.versus.hit.yeni.ReportActivity"
          android:label="@string/app_name" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.REPORT" /&gt;
  
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
  
      &lt;/activity&gt;
  
  
          &lt;activity
          android:name="com.versus.hit.yeni.MailSender"
          android:label="@string/app_name" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIL" /&gt;
  
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
  
      &lt;/activity&gt;
  
  
  
       &lt;activity
          android:name=".FacebookLoginActivity"
            android:screenOrientation="portrait"
          android:theme="@android:style/Theme.Translucent.NoTitleBar" /&gt;
      &lt;activity
          android:name="com.facebook.LoginActivity"
          android:label="@string/app_name"
          android:theme="@android:style/Theme.Translucent.NoTitleBar" /&gt;
  
  
  
  
      &lt;meta-data
          android:name="com.facebook.sdk.ApplicationId"
          android:value="@string/appid" /&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p></p>