title: java.lang.NoClassDefFoundError on an Activity
body: <p>I receive a crash report from my production app, which tells me that there is an NoClassDefFound Exception on one of my activity.</p>
  
  <p>The exception is thrown on this line:</p>
  
  <pre><code>final Intent i = new Intent(MainActivity.this, SomeActivity.class);
  </code></pre>
  
  <p>Where it claims that "SomeActivity" class is not found.</p>
  
  <p>There is only one instance reported out of thousands of users. (On a Samsung Note Mini)
  Which means it shouldn't be a compilation or wrong lib included issue.</p>
  
  <p>Is there any clues for me to continue my investigation?</p>
  
  <p>p/s: The activity is definitely defined in manifest. Else it won't even works on other user's phones.</p>
  
  <p>Stack:</p>
  
  <pre><code>java.lang.NoClassDefFoundError: com.sensored.SomeActivity
  at com.sensored.MainActivity$2.onItemClicked(MainActivity.java:920)
  at com.sensored.adapter.SomeListAdapter$2.onClick(SomeListAdapter.java:115)
  at android.view.View.performClick(View.java:2485)
  at android.view.View$PerformClick.run(View.java:9080)
  at android.os.Handler.handleCallback(Handler.java:587)
  at android.os.Handler.dispatchMessage(Handler.java:92)
  at android.os.Looper.loop(Looper.java:130)
  at android.app.ActivityThread.main(ActivityThread.java:3697)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:507)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
  at dalvik.system.NativeStart.main(Native Method)
  </code></pre>