title: Android run time errors
body: <p>I wonder if any one can help me, I'm writing an android program and whenever I run the emulator, these errors show up:</p>
  
  <pre><code>03-24 15:06:17.464: E/AndroidRuntime(792): FATAL EXCEPTION: main
  03-24 15:06:17.464: E/AndroidRuntime(792): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.gridviewexample/com.example.gridviewexample.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.gridviewexample.MainActivity" on path: /data/app/com.example.gridviewexample-2.apk
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.app.ActivityThread.access$600(ActivityThread.java:141)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.os.Handler.dispatchMessage(Handler.java:99)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.os.Looper.loop(Looper.java:137)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.app.ActivityThread.main(ActivityThread.java:5039)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at java.lang.reflect.Method.invokeNative(Native Method)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at java.lang.reflect.Method.invoke(Method.java:511)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at dalvik.system.NativeStart.main(Native Method)
  03-24 15:06:17.464: E/AndroidRuntime(792): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.gridviewexample.MainActivity" on path: /data/app/com.example.gridviewexample-2.apk
  03-24 15:06:17.464: E/AndroidRuntime(792):  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
  03-24 15:06:17.464: E/AndroidRuntime(792):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
  03-24 15:06:17.464: E/AndroidRuntime(792):  ... 11 more
  </code></pre>
  
  <p>I'm trying to write a grid view code, I would really appreciate it if anyone could help, thanks a lot :)</p>