目前有使用android 4.03 ICS的朋友反映打开在线地图出现错误:
java.lang.NoClassDefFoundError: android.security.MessageDigest
Google之,发现是由于基于mapview的程序与4.03 ICS配合的不好:
http://stackoverflow.com/questions/11517519/can-not-execute-application-with-maps-on-android-device-running-4-0-3-ics
Tried to Google around, found that the exception: java.lang.NoClassDefFoundError: android.security.MessageDigest is caused due to some firmware compatibility / mis-match with Google MAPS API / SDK. Certain other people suggest to use java.security.MessageDigest but in this case I / We wont be able to edit the com.google.maps.jar on our own.
解决方法:
Found a work around.
One thing was sure that the device running Android 4.0.3 ICS had some issue with Google Maps API.
So tried to Google for any libraries specific to Android 4.0.3 ICS.