Voice Search not working


Oct 18, 2011
1
0
11
#1
Hi!
I'm trying to get Google Voice Search working, but it force closes whenever I try to open it.

Code:
I/ActivityManager( 1276): Starting: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.google.android.voicesearch/.RecognitionActivity } from pid 2983
I/ActivityManager( 1276): Start proc com.google.android.voicesearch for activity com.google.android.voicesearch/.RecognitionActivity: pid=3040 uid=10071 gids={3003}
I/ActivityThread( 3040): Pub com.google.android.voicesearch.VoiceSearchResultProvider: com.google.android.voicesearch.VoiceSearchResultProvider
W/dalvikvm( 3040): VFY: unable to resolve instance field 46
D/dalvikvm( 3040): VFY: replacing opcode 0x54 at 0x000d
D/dalvikvm( 3040): VFY: dead code 0x000f-0017 in Lcom/google/android/voicesearch/RecognitionActivity;.cancelRecognition ()V
D/dalvikvm( 3040): VFY: dead code 0x0019-0022 in Lcom/google/android/voicesearch/RecognitionActivity;.cancelRecognition ()V
E/dalvikvm( 3040): Could not find class 'android.speech.RecognitionResult', referenced from method com.google.android.voicesearch.RecognitionActivity.handleIntentApiResults
W/dalvikvm( 3040): VFY: unable to resolve check-cast 116 (Landroid/speech/RecognitionResult;) in Lcom/google/android/voicesearch/RecognitionActivity;
D/dalvikvm( 3040): VFY: replacing opcode 0x1f at 0x0013
D/dalvikvm( 3040): VFY: dead code 0x0015-001e in Lcom/google/android/voicesearch/RecognitionActivity;.handleIntentApiResults (Ljava/util/List;)V
E/dalvikvm( 3040): Could not find class 'android.speech.RecognitionResult', referenced from method com.google.android.voicesearch.RecognitionActivity.handleVoiceSearchResults
W/dalvikvm( 3040): VFY: unable to resolve check-cast 116 (Landroid/speech/RecognitionResult;) in Lcom/google/android/voicesearch/RecognitionActivity;
D/dalvikvm( 3040): VFY: replacing opcode 0x1f at 0x001d
E/dalvikvm( 3040): Could not find class 'android.speech.RecognitionResult', referenced from method com.google.android.voicesearch.RecognitionActivity.handleVoiceSearchResults
W/dalvikvm( 3040): VFY: unable to resolve check-cast 116 (Landroid/speech/RecognitionResult;) in Lcom/google/android/voicesearch/RecognitionActivity;
D/dalvikvm( 3040): VFY: replacing opcode 0x1f at 0x0108
D/dalvikvm( 3040): VFY: dead code 0x001f-0047 in Lcom/google/android/voicesearch/RecognitionActivity;.handleVoiceSearchResults (Ljava/util/List;)V
D/dalvikvm( 3040): VFY: dead code 0x010a-0128 in Lcom/google/android/voicesearch/RecognitionActivity;.handleVoiceSearchResults (Ljava/util/List;)V
E/dalvikvm( 3040): Could not find class 'android.speech.RecognitionServiceUtil$Connection', referenced from method com.google.android.voicesearch.RecognitionActivity.initializeRecognitionService
W/dalvikvm( 3040): VFY: unable to resolve new-instance 117 (Landroid/speech/RecognitionServiceUtil$Connection;) in Lcom/google/android/voicesearch/RecognitionActivity;
D/dalvikvm( 3040): VFY: replacing opcode 0x22 at 0x0001
D/dalvikvm( 3040): VFY: dead code 0x0003-001c in Lcom/google/android/voicesearch/RecognitionActivity;.initializeRecognitionService ()Z
W/dalvikvm( 3040): VFY: unable to find class referenced in signature (Landroid/speech/RecognitionResult;)
W/dalvikvm( 3040): VFY: unable to resolve instance field 43
D/dalvikvm( 3040): VFY: replacing opcode 0x52 at 0x001d
D/dalvikvm( 3040): VFY: dead code 0x001f-005a in Lcom/google/android/voicesearch/RecognitionActivity;.recognitionResultToString (Landroid/speech/RecognitionResult;)Ljava/lang/String;
W/dalvikvm( 3040): VFY: unable to resolve instance field 46
D/dalvikvm( 3040): VFY: replacing opcode 0x54 at 0x0009
D/dalvikvm( 3040): VFY: dead code 0x000b-008b in Lcom/google/android/voicesearch/RecognitionActivity;.startRecognitionTask ()V
D/dalvikvm( 3040): GC_EXTERNAL_ALLOC freed 101K, 48% free 2824K/5379K, external 0K/0K, paused 26ms
W/dalvikvm( 3040): VFY: unable to find class referenced in signature (Landroid/speech/RecognitionResult;)
W/dalvikvm( 3040): VFY: unable to resolve instance field 44
D/dalvikvm( 3040): VFY: replacing opcode 0x54 at 0x000d
D/dalvikvm( 3040): VFY: dead code 0x000f-004e in Lcom/google/android/voicesearch/WebSearchUtils;.createWebSearchSuggestion (Landroid/speech/RecognitionResult;)Lcom/google/android/voicesearch/SuggestionData;
E/dalvikvm( 3040): Could not find class 'com.google.common.android.AndroidConfig', referenced from method com.google.android.voicesearch.VoiceSearchLogger$MasfLogger.<init>
W/dalvikvm( 3040): VFY: unable to resolve new-instance 319 (Lcom/google/common/android/AndroidConfig;) in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;
D/dalvikvm( 3040): VFY: replacing opcode 0x22 at 0x0003
D/dalvikvm( 3040): VFY: dead code 0x0005-0039 in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;.<init> (Landroid/content/Context;)V
E/dalvikvm( 3040): Could not find class 'com.google.common.io.protocol.ProtoBuf', referenced from method com.google.android.voicesearch.VoiceSearchLogger$MasfLogger.createProtoBuf
W/dalvikvm( 3040): VFY: unable to resolve new-instance 320 (Lcom/google/common/io/protocol/ProtoBuf;) in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;
D/dalvikvm( 3040): VFY: replacing opcode 0x22 at 0x0000
D/dalvikvm( 3040): VFY: dead code 0x0002-0007 in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;.createProtoBuf ()Lcom/google/common/io/protocol/ProtoBuf;
W/dalvikvm( 3040): VFY: unable to find class referenced in signature (Lcom/google/common/io/protocol/ProtoBuf;)
I/dalvikvm( 3040): Could not find method com.google.common.io.protocol.ProtoBuf.setInt, referenced from method com.google.android.voicesearch.VoiceSearchLogger$MasfLogger.logAction
W/dalvikvm( 3040): VFY: unable to resolve virtual method 1723: Lcom/google/common/io/protocol/ProtoBuf;.setInt (II)V
D/dalvikvm( 3040): VFY: replacing opcode 0x6e at 0x0005
D/dalvikvm( 3040): VFY: dead code 0x0008-000b in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;.logAction (I)V
W/dalvikvm( 3040): VFY: unable to find class referenced in signature (Lcom/google/common/io/protocol/ProtoBuf;)
I/dalvikvm( 3040): Could not find method com.google.masf.services.EventLogService.log, referenced from method com.google.android.voicesearch.VoiceSearchLogger$MasfLogger.logProtoBuf
W/dalvikvm( 3040): VFY: unable to resolve static method 1735: Lcom/google/masf/services/EventLogService;.log (Lcom/google/common/io/protocol/ProtoBuf;)V
D/dalvikvm( 3040): VFY: replacing opcode 0x71 at 0x0000
D/dalvikvm( 3040): VFY: dead code 0x0003-0003 in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;.logProtoBuf (Lcom/google/common/io/protocol/ProtoBuf;)V
I/dalvikvm( 3040): Could not find method com.google.masf.MobileServiceMux.flushRequests, referenced from method com.google.android.voicesearch.VoiceSearchLogger$MasfLogger.flush
W/dalvikvm( 3040): VFY: unable to resolve virtual method 1730: Lcom/google/masf/MobileServiceMux;.flushRequests ()V
D/dalvikvm( 3040): VFY: replacing opcode 0x6e at 0x0002
D/dalvikvm( 3040): VFY: dead code 0x0005-0005 in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;.flush ()V
W/dalvikvm( 3040): VFY: unable to find class referenced in signature (Lcom/google/common/io/protocol/ProtoBuf;)
I/dalvikvm( 3040): Could not find method com.google.common.io.protocol.ProtoBuf.setInt, referenced from method com.google.android.voicesearch.VoiceSearchLogger$MasfLogger.nBestChoose
W/dalvikvm( 3040): VFY: unable to resolve virtual method 1723: Lcom/google/common/io/protocol/ProtoBuf;.setInt (II)V
D/dalvikvm( 3040): VFY: replacing opcode 0x6e at 0x0007
D/dalvikvm( 3040): VFY: dead code 0x000a-0011 in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;.nBestChoose (I)V
W/dalvikvm( 3040): VFY: unable to find class referenced in signature (Lcom/google/common/io/protocol/ProtoBuf;)
I/dalvikvm( 3040): Could not find method com.google.common.io.protocol.ProtoBuf.setInt, referenced from method com.google.android.voicesearch.VoiceSearchLogger$MasfLogger.start
W/dalvikvm( 3040): VFY: unable to resolve virtual method 1723: Lcom/google/common/io/protocol/ProtoBuf;.setInt (II)V
D/dalvikvm( 3040): VFY: replacing opcode 0x6e at 0x0007
D/dalvikvm( 3040): VFY: dead code 0x000a-0011 in Lcom/google/android/voicesearch/VoiceSearchLogger$MasfLogger;.start (Ljava/lang/String;)V
D/AndroidRuntime( 3040): Shutting down VM
W/dalvikvm( 3040): threadid=1: thread exiting with uncaught exception (group=0x40015568)
E/AndroidRuntime( 3040): FATAL EXCEPTION: main
E/AndroidRuntime( 3040): java.lang.NoClassDefFoundError: com.google.common.android.AndroidConfig
E/AndroidRuntime( 3040): at com.google.android.voicesearch.VoiceSearchLogger$MasfLogger.<init>(VoiceSearchLogger.java:253)
E/AndroidRuntime( 3040): at com.google.android.voicesearch.VoiceSearchLogger.<init>(VoiceSearchLogger.java:78)
E/AndroidRuntime( 3040): at com.google.android.voicesearch.VoiceSearchLogger.getLogger(VoiceSearchLogger.java:55)
E/AndroidRuntime( 3040): at com.google.android.voicesearch.RecognitionActivity.onCreate(RecognitionActivity.java:440)
From what my very limited coding experience can tell, it's trying to access android's native components which have been stripped from MIUI and thus fails to execute.. I could be wrong though.

Anyway, I'm throwing this here in case someone wants to attempt to fix this.

The main reason I want to install Voice Search is to test out iris which didn't seem to recognize Vlingo as a speech input service.
For the record, Vlingo doesn't seem to be working from my keyboard either, only through it's own app.