Test Environment
OS: 4.0.3 4.0.4 4.1
My Tracks Version: 2.0 2.0.2
Meet following crash when user open MyTracks with honeycomb or above devices:
java.lang.NoClassDefFoundError: android.security.MessageDigest
at com.google.android.maps.KeyHelper.getSignatureFingerprint(KeyHelper.java:60)
at com.google.android.maps.MapActivity.createMap(MapActivity.java:513)
at com.google.android.maps.MapActivity.onCreate(MapActivity.java:409)
at android.support.v4.app.FragmentActivity.onCreate(Unknown Source)
at com.google.android.apps.mytracks.TrackListActivity.onCreate(MT:331)
at android.app.Activity.performCreate(Activity.java:4492)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
at android.app.ActivityThread.access$600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
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:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
By referring following links, we should use java.security.MessageDigest instead
of android.security.MessageDigest :
http://stackoverflow.com/questions/11407685/what-is-android-security-messagedige
st
http://productforums.google.com/forum/#!category-topic/maps/google-maps-for-mobi
le/KinrGn9DcIE
Original issue reported on code.google.com by youtaol@google.com on 1 Nov 2012 at 8:38
Original issue reported on code.google.com by
youtaol@google.com
on 1 Nov 2012 at 8:38