Java.lang.noclassdeffounderror: Android.security.messagedigest
In my application I use MessageDigest.getInstance('SHA-1') to get SHA1, it can run successfully in android 2.3, but it can't run in android 4.0 and it will show the below exception
Solution 1:
From reading around googlegroups it sounds like android.security.MessageDigest
was removed in Honeycomb. Unfortunately I am yet to find evidence of this in the Android developer documentation.
Try using java.security.MessageDigest
instead.
Post a Comment for "Java.lang.noclassdeffounderror: Android.security.messagedigest"