NoClassDefFoundError: android.security.MessageDigest -


i've got app i'm seeing following stack trace in play developer console:

java.lang.noclassdeffounderror: android.security.messagedigest   @ com.google.android.maps.keyhelper.getsignaturefingerprint(keyhelper.java:60)      @ com.google.android.maps.mapactivity.createmap(mapactivity.java:513)   @ com.google.android.maps.mapactivity.oncreate(mapactivity.java:409)   ... 

the play console lists these devices type "other". happening 1% of users. causing this? fix it?

thanks

android.security.messagedigest removed in honeycomb, though there's no official record of on android.com afaik

try using java.security.messagedigest in import instead. been around since api 1 well, work on older devices, honeycomb , above. change line:

import android.security.messagedigest; 

to

import java.security.messagedigest; 

Comments