Getting error in logcat .messagedigest
<p>This is my logcat log. Im using gps locator sample code to learn how to track current location. Any time i test on device it shows up as "App has stopped"</p>

<pre><code> 02-28 15:00:09.282: I/dalvikvm(16111): threadid=3: reacting to signal 3
 02-28 15:00:09.332: I/dalvikvm(16111): Could not find method android.security.MessageDigest.getInstance, referenced from method com.google.android.maps.KeyHelper.getSignatureFingerprint
 02-28 15:00:09.332: I/dalvikvm(16111): Wrote stack traces to '/data/anr/traces.txt'
 02-28 15:00:09.352: W/dalvikvm(16111): VFY: unable to resolve static method 153: Landroid/security/MessageDigest;.getInstance (Ljava/lang/String;)Landroid/security/MessageDigest;
 02-28 15:00:09.352: D/dalvikvm(16111): VFY: replacing opcode 0x71 at 0x0038
 02-28 15:00:09.372: D/AndroidRuntime(16111): Shutting down VM
 02-28 15:00:09.372: W/dalvikvm(16111): threadid=1: thread exiting with uncaught exception (group=0x40a2a1f8)
 02-28 15:00:09.382: E/AndroidRuntime(16111): FATAL EXCEPTION: main
 02-28 15:00:09.382: E/AndroidRuntime(16111): java.lang.NoClassDefFoundError: android.security.MessageDigest
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at com.google.android.maps.KeyHelper.getSignatureFingerprint(KeyHelper.java:60)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at com.google.android.maps.MapActivity.createMap(MapActivity.java:552)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at com.google.android.maps.MapActivity.onCreate(MapActivity.java:422)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at com.VertexVerveInc.GPSLocator.GPSLocatorActivity.onCreate(GPSLocatorActivity.java:38)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.app.Activity.performCreate(Activity.java:4492)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.app.ActivityThread.access$600(ActivityThread.java:123)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.os.Handler.dispatchMessage(Handler.java:99)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.os.Looper.loop(Looper.java:137)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at android.app.ActivityThread.main(ActivityThread.java:4424)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at java.lang.reflect.Method.invokeNative(Native Method)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at java.lang.reflect.Method.invoke(Method.java:511)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
 02-28 15:00:09.382: E/AndroidRuntime(16111):   at dalvik.system.NativeStart.main(Native Method)
 02-28 15:00:09.792: I/dalvikvm(16111): threadid=3: reacting to signal 3
 02-28 15:00:09.802: I/dalvikvm(16111): Wrote stack traces to '/data/anr/traces.txt' 
 02-28 15:00:09.952: I/dalvikvm(16111): threadid=3: reacting to signal 3
 02-28 15:00:09.952: I/dalvikvm(16111): Wrote stack traces to '/data/anr/traces.txt'
</code></pre>

<p>If anyone can please direct me, il post code if need be. </p>

<pre><code>  02-28 15:34:31.211: I/dalvikvm(16418): threadid=3: reacting to signal 3
 02-28 15:34:31.301: I/dalvikvm(16418): Could not find method android.security.MessageDigest.getInstance, referenced from method com.google.android.maps.KeyHelper.getSignatureFingerprint
 02-28 15:34:31.301: W/dalvikvm(16418): VFY: unable to resolve static method 153: Landroid/security/MessageDigest;.getInstance (Ljava/lang/String;)Landroid/security/MessageDigest;
 02-28 15:34:31.301: D/dalvikvm(16418): VFY: replacing opcode 0x71 at 0x0038
 02-28 15:34:31.321: D/AndroidRuntime(16418): Shutting down VM
 02-28 15:34:31.321: W/dalvikvm(16418): threadid=1: thread exiting with uncaught exception (group=0x40a2a1f8)
 02-28 15:34:31.321: I/dalvikvm(16418): Wrote stack traces to '/data/anr/traces.txt'
 02-28 15:34:31.341: E/AndroidRuntime(16418): FATAL EXCEPTION: main
 02-28 15:34:31.341: E/AndroidRuntime(16418): java.lang.NoClassDefFoundError: android.security.MessageDigest
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at com.google.android.maps.KeyHelper.getSignatureFingerprint(KeyHelper.java:60)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at com.google.android.maps.MapActivity.createMap(MapActivity.java:552)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at com.google.android.maps.MapActivity.onCreate(MapActivity.java:422)
  02-28 15:34:31.341: E/AndroidRuntime(16418):  at com.VertexVerveInc.GPSLocator.GPSLocatorActivity.onCreate(GPSLocatorActivity.java:38)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.app.Activity.performCreate(Activity.java:4492)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.app.ActivityThread.access$600(ActivityThread.java:123)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.os.Handler.dispatchMessage(Handler.java:99)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.os.Looper.loop(Looper.java:137)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at android.app.ActivityThread.main(ActivityThread.java:4424)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at java.lang.reflect.Method.invokeNative(Native Method)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at java.lang.reflect.Method.invoke(Method.java:511)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
 02-28 15:34:31.341: E/AndroidRuntime(16418):   at dalvik.system.NativeStart.main(Native Method)
 02-28 15:34:31.711: I/dalvikvm(16418): threadid=3: reacting to signal 3
 02-28 15:34:31.711: I/dalvikvm(16418): Wrote stack traces to '/data/anr/traces.txt'
 02-28 15:34:31.911: I/dalvikvm(16418): threadid=3: reacting to signal 3
 02-28 15:34:31.911: I/dalvikvm(16418): Wrote stack traces to '/data/anr/traces.txt'
 02-28 15:34:33.921: I/Process(16418): Sending signal. PID: 16418 SIG: 9
</code></pre>

<hr>
