Categories: Mobile - Other :

Honeycomb: GPS related apps Force Close

Showing 1-4 of 4 messages
Honeycomb: GPS related apps Force Close .dtmoore. 7/22/11 11:15 AM
On HoneyComb Device:

Steps to re-produce: 

1. Device in idle mode. 
2. Goto Settings->Application tray->Market. 
3. Download and install the following Apps listed below from Android Market using the Search Button 
      My Tracks (GPS) 
      Weatherbug (gadget, GPS) 
      Google Sky Map (compass) 

Observed Result: 
      Unable to open the apps once installed giving the following error message : The application(process com.aws.android)has stopped unexpectedly.Please try again. Force Close 

Expected Result: 
          Should be able to download, install and open the apps successfully. 


Log:

07-19 06:10:13.218: ERROR/AndroidRuntime(6260): FATAL EXCEPTION: main
07-19 06:10:13.218: ERROR/AndroidRuntime(6260): java.lang.NoClassDefFoundError: android.security.MessageDigest
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at com.google.android.maps.KeyHelper.getSignatureFingerprint(KeyHelper.java:60)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at com.google.android.maps.MapActivity.createMap(MapActivity.java:552)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at com.google.android.maps.MapActivity.onCreate(MapActivity.java:422)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at com.google.android.apps.mytracks.MapActivity.onCreate(MapActivity.java:127)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.Activity.performCreate(Activity.java:4411)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1748)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.ActivityThread.startActivityNow(ActivityThread.java:1625)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:130)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:342)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:676)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.widget.TabHost.setCurrentTab(TabHost.java:345)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.widget.TabHost.addTab(TabHost.java:235)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at com.google.android.apps.mytracks.MyTracks.onCreate(MyTracks.java:282)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.Activity.performCreate(Activity.java:4411)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1748)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1800)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.ActivityThread.access$500(ActivityThread.java:124)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1019)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.os.Handler.dispatchMessage(Handler.java:99)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.os.Looper.loop(Looper.java:132)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at android.app.ActivityThread.main(ActivityThread.java:4084)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at java.lang.reflect.Method.invokeNative(Native Method)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at java.lang.reflect.Method.invoke(Method.java:491)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
07-19 06:10:13.218: ERROR/AndroidRuntime(6260):     at dalvik.system.NativeStart.main(Native Method)
07-19 06:10:13.218: WARN/ActivityManager(260):   Force finishing activity com.google.android.maps.mytracks/com.google.android.apps.mytracks.MyTracks


Solution:

On honeycomb line, the android.security.MessageDigest is removed. Instead, it should use java.security.MessageDigest.


2011-07-22
Specifically this fix should be done in "Google Maps".  It looks like it occurs when applications are trying to embed a map.
Re: Honeycomb: GPS related apps Force Close .dtmoore. 7/22/11 11:28 AM
Title should not be "GPS related apps Force Close", but 

"Applications with embedded Maps Force Close"
Re: Honeycomb: GPS related apps Force Close .dtmoore. 7/22/11 2:57 PM
Also verified this issue is still seen with Maps 5.7
Re: Honeycomb: GPS related apps Force Close .dtmoore. 7/25/11 3:32 PM
This appears to be a problem with the Maps external library in "Google APIs (v3.2)" SDK add-on.  Its trying to use android.security.MessageDigest which was removed in Honeycomb.