Android: NoClassDefFoundError for some app users
<p>I published an app 2 moths ago and sometimes, I am getting some errors from the users.</p>

<p>Here is the log:</p>

<pre><code>java.lang.NoClassDefFoundError: android.os.StrictMode$ThreadPolicy$Builder
at mdpi.android.MDPIActivity.onCreate(MDPIActivity.java:132)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
at android.app.ActivityThread.access$2300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
at dalvik.system.NativeStart.main(Native Method)
</code></pre>

<p>The strange thing is that when testing, I am newer getting this error and at the moment, there are 6 repports from the other users about this problem.</p>

<p>Here 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="mdpi.android"
android:versionCode="4"
android:versionName="2.1" 
android:installLocation="auto"&gt;

&lt;uses-sdk android:minSdkVersion="8" /&gt;

&lt;application
    android:icon="@drawable/app_icon"
    android:label="@string/app_name"  
    android:theme="@android:style/Theme.Black"&gt;
    android:debuggable=false


    &lt;activity
        android:name=".WelcomeScreen"
        android:configChanges="orientation|keyboardHidden"
        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=".MDPIActivity"
        android:configChanges="keyboardHidden|orientation"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserSubmission"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserProfile"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserInformations"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserForgotPassword"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserRegistration"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserSubmissions"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserSubmissionLog"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserEmailNotifications"&gt;&lt;/activity&gt;
    &lt;activity android:name=".Journals"
        android:configChanges="keyboardHidden|orientation"&gt;&lt;/activity&gt;

    &lt;activity android:name=".JournalsAdding"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".JournalAimsAndScope"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".JournalEditorialBoard"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".JournalContact"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".JournalArticles"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".JournalArticleInfo"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".JournalArticlesVolumeIssuesSelection"&gt;&lt;/activity&gt;

    &lt;activity android:name=".MDPI_About"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".MDPI_About_About"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".MDPI_About_Contact"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".User_Registration_Country_Choosing"&gt;&lt;/activity&gt;

    &lt;activity android:name=".MDPI_About_OpenAccess"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

    &lt;activity android:name=".UserLoging"
        android:configChanges="keyboardHidden|orientation"&gt;&lt;/activity&gt;

    &lt;activity 
        android:name=".JournalSelectingDialog"
        android:theme="@android:style/Theme.Dialog"
        android:configChanges="orientation|keyboardHidden"&gt;&lt;/activity&gt;

     &lt;activity android:name=".UserProfileEditing"
        android:configChanges="orientation|keyboardHidden"
        android:windowSoftInputMode="stateHidden"&gt;&lt;/activity&gt;

     &lt;activity android:name=".User_EditProfile_Country_Choosing"
        android:configChanges="orientation|keyboardHidden"&gt;
     &lt;/activity&gt;

     &lt;activity android:name=".JournalsDeleting"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;

        &lt;activity android:name=".Highlights"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;

        &lt;activity android:name=".Highlights_News"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;

         &lt;activity android:name=".Highlights_News_Informations"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;

        &lt;activity android:name=".Highlights_NewSpecialIssues"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;

         &lt;activity android:name=".Highlights_NewSpecialIssue_Informations"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;

         &lt;activity android:name=".Search"
        android:configChanges="orientation|keyboardHidden"&gt;
          &lt;intent-filter&gt;   
        &lt;action android:name="android.intent.action.SEARCH" /&gt;
        &lt;/intent-filter&gt;
        &lt;meta-data android:name="android.app.searchable"
               android:resource="@xml/searchable"/&gt;   
        &lt;/activity&gt;


         &lt;activity android:name=".SearchInterface"
        android:configChanges="orientation|keyboardHidden"&gt;
         &lt;meta-data android:name="android.app.default_searchable"
               android:value=".Search" /&gt;
         &lt;/activity&gt;

          &lt;activity android:name=".SpecialIssueInformations"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;

          &lt;activity android:name=".ArticlesFromAuthor"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;

           &lt;activity android:name=".ChangeWallpaper"
        android:configChanges="orientation|keyboardHidden"&gt;
        &lt;/activity&gt;



&lt;/application&gt;  
    &lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt;
    &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
</code></pre>

<p></p>
