title: Android App Error: java.lang.NoClassDefFoundError
body: <p>Okay,</p>
  
  <p>So I'm working on an Android app but get the following error:</p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError in
    com.networkstudios.app.LoginActivity.<br>
    java.lang.NoClassDefFoundError: com.networkstudios.app.LoginActivity$1
    at com.networkstudios.app.LoginActivity.(LoginActivity.java:37)
    at java.lang.Class.newInstanceImpl(Native Method) at
    java.lang.Class.newInstance(Class.java:1319) at
    android.app.Instrumentation.newActivity(Instrumentation.java:1068) at
    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2007)
    at
    android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2117)
    at android.app.ActivityThread.access$700(ActivityThread.java:134) at
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1218)
    at android.os.Handler.dispatchMessage(Handler.java:99) at
    android.os.Looper.loop(Looper.java:137) at
    android.app.ActivityThread.main(ActivityThread.java:4867) at
    java.lang.reflect.Method.invokeNative(Native Method) at
    java.lang.reflect.Method.invoke(Method.java:511) at
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774) at
    dalvik.system.NativeStart.main(Native Method)</p>
  </blockquote>
  
  <p>Here is the code for LoginActivity.java found in com.networkstudios.app:</p>
  
  <p><a href="http://pastebin.com/4dMxD8nb" rel="nofollow">http://pastebin.com/4dMxD8nb</a> </p>
  
  <p>Any Ideas on this?</p>