Error Building ScanAndPair Example

// Expert user has replied.
K KENNETH SMITH 3 years 5 months ago
6 2 0

Hello I've watched the most recent Dev { TALK } video have copied code verbatim however I'm getting the following error.
 
 
08-12 03:25:10.849 8995-8995/com.example.sampleemdkapplication W/ActivityThread: Application com.example.sampleemdkapplication is waiting for the debugger on port 8100...
08-12 03:25:10.869 8995-8995/com.example.sampleemdkapplication I/System.out: Sending WAIT chunk
08-12 03:25:11.029 8995-9003/com.example.sampleemdkapplication I/dalvikvm: Debugger is active
08-12 03:25:11.079 8995-8995/com.example.sampleemdkapplication I/System.out: Debugger has connected
08-12 03:25:11.079 8995-8995/com.example.sampleemdkapplication I/System.out: waiting for debugger to settle...
08-12 03:25:11.279 8995-8995/com.example.sampleemdkapplication I/System.out: waiting for debugger to settle...
08-12 03:25:11.479 8995-8995/com.example.sampleemdkapplication I/System.out: waiting for debugger to settle...
08-12 03:25:11.679 8995-8995/com.example.sampleemdkapplication I/System.out: waiting for debugger to settle...
08-12 03:25:11.880 8995-8995/com.example.sampleemdkapplication I/System.out: waiting for debugger to settle...
08-12 03:25:12.080 8995-8995/com.example.sampleemdkapplication I/System.out: waiting for debugger to settle...
08-12 03:25:12.280 8995-8995/com.example.sampleemdkapplication I/System.out: waiting for debugger to settle...
08-12 03:25:12.480 8995-8995/com.example.sampleemdkapplication I/System.out: debugger has settled (1365)
08-12 03:25:12.550 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.Context.getSystemService, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 431: Landroid/content/Context;.getSystemService (Ljava/lang/Class;)Ljava/lang/Object;
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x004b
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.stopLockTask, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 223: Landroid/app/Activity;.stopLockTask ()V
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x00b9
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 216 (Landroid/os/PersistableBundle;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x00f1
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 414: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0101
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.onVisibleBehindCanceled, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 146: Landroid/app/Activity;.onVisibleBehindCanceled ()V
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0111
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.onWindowStartingActionMode, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 150: Landroid/app/Activity;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0137
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 216 (Landroid/os/PersistableBundle;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.560 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x019a
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.media.session.MediaController', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 177 (Landroid/media/session/MediaController;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x01b2
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.widget.Toolbar', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 1792 (Landroid/widget/Toolbar;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x01bc
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.releaseInstance, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 157: Landroid/app/Activity;.releaseInstance ()Z
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x02dd
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.onActivityReenter, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 98: Landroid/app/Activity;.onActivityReenter (ILandroid/content/Intent;)V
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x02f4
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.ContextWrapper.getCodeCacheDir, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 483: Landroid/content/ContextWrapper;.getCodeCacheDir ()Ljava/io/File;
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0349
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v4/app/FragmentActivity;.dispatchFragmentsOnCreateView (Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View; from Lcom.example.sampleemdkapplication/MainActivity;)
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 1984: Landroid/support/v4/app/FragmentActivity;.dispatchFragmentsOnCreateView (Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0432
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.getVoiceInteractor, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 77: Landroid/app/Activity;.getVoiceInteractor ()Landroid/app/VoiceInteractor;
08-12 03:25:12.570 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0490
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.app.ActivityManager$TaskDescription', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 17 (Landroid/app/ActivityManager$TaskDescription;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x055b
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.startActionMode, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 198: Landroid/app/Activity;.startActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0596
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.showAssist, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 193: Landroid/app/Activity;.showAssist (Landroid/os/Bundle;)Z
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x05d8
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.postponeEnterTransition, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 154: Landroid/app/Activity;.postponeEnterTransition ()V
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x05e3
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.ContextWrapper.getNoBackupFilesDir, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 495: Landroid/content/ContextWrapper;.getNoBackupFilesDir ()Ljava/io/File;
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x066c
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.requestPermissions, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 160: Landroid/app/Activity;.requestPermissions ([Ljava/lang/String;I)V
08-12 03:25:12.580 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0781
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 44 (Landroid/app/SharedElementCallback;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x079b
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 216 (Landroid/os/PersistableBundle;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x07e2
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication W/dalvikvm: DexOpt: resolve class illegal access: Lcom.example.sampleemdkapplication/MainActivity; -> Landroid/support/v4/app/BaseFragmentActivityDonut;
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.support.v4.app.BaseFragmentActivityDonut.onCreateView, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 1764: Landroid/support/v4/app/BaseFragmentActivityDonut;.onCreateView (Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0826
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.setContentTransitionManager, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 165: Landroid/app/Activity;.setContentTransitionManager (Landroid/transition/TransitionManager;)V
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x093a
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.onProvideReferrer, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 134: Landroid/app/Activity;.onProvideReferrer ()Landroid/net/Uri;
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0978
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v4/app/FragmentActivity;.doReallyStop (Z)V from Lcom.example.sampleemdkapplication/MainActivity;)
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.support.v4.app.FragmentActivity.doReallyStop, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 1985: Landroid/support/v4/app/FragmentActivity;.doReallyStop (Z)V
08-12 03:25:12.590 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x09a5
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.Context.getDrawable, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 416: Landroid/content/Context;.getDrawable (I)Landroid/graphics/drawable/Drawable;
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x09ef
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.showLockTaskEscapeMessage, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 196: Landroid/app/Activity;.showLockTaskEscapeMessage ()V
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x09ff
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.getContentTransitionManager, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 53: Landroid/app/Activity;.getContentTransitionManager ()Landroid/transition/TransitionManager;
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0a05
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 44 (Landroid/app/SharedElementCallback;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x0ac1
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.getReferrer, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 67: Landroid/app/Activity;.getReferrer ()Landroid/net/Uri;
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0b35
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.ContextWrapper.getSystemServiceName, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 504: Landroid/content/ContextWrapper;.getSystemServiceName (Ljava/lang/Class;)Ljava/lang/String;
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0bb2
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.isVoiceInteractionRoot, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 90: Landroid/app/Activity;.isVoiceInteractionRoot ()Z
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0bda
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.ContextWrapper.getExternalMediaDirs, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 491: Landroid/content/ContextWrapper;.getExternalMediaDirs ()[Ljava/io/File;
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0c62
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.getMediaController, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 61: Landroid/app/Activity;.getMediaController ()Landroid/media/session/MediaController;
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0ca6
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.getSearchEvent, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 70: Landroid/app/Activity;.getSearchEvent ()Landroid/view/SearchEvent;
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0d25
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v4/app/FragmentActivity;.onReallyStop ()V from Lcom.example.sampleemdkapplication/MainActivity;)
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.support.v4.app.FragmentActivity.onReallyStop, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 2018: Landroid/support/v4/app/FragmentActivity;.onReallyStop ()V
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0d65
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.isVoiceInteraction, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 89: Landroid/app/Activity;.isVoiceInteraction ()Z
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0dd5
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.requestVisibleBehind, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 161: Landroid/app/Activity;.requestVisibleBehind (Z)Z
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0e3a
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.shouldShowRequestPermissionRationale, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 191: Landroid/app/Activity;.shouldShowRequestPermissionRationale (Ljava/lang/String;)Z
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0e4f
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.finishAndRemoveTask, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 43: Landroid/app/Activity;.finishAndRemoveTask ()V
08-12 03:25:12.600 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0e8c
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.Context.getColor, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 413: Landroid/content/Context;.getColor (I)I
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0ee3
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.app.assist.AssistContent', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 47 (Landroid/app/assist/AssistContent;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x0f3b
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.finishAfterTransition, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 42: Landroid/app/Activity;.finishAfterTransition ()V
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0f5f
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.getContentScene, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 52: Landroid/app/Activity;.getContentScene ()Landroid/transition/Scene;
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0f65
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.view.SearchEvent', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 1673 (Landroid/view/SearchEvent;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x10a8
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: DexOpt: resolve class illegal access: Lcom.example.sampleemdkapplication/MainActivity; -> Landroid/support/v4/app/BaseFragmentActivityHoneycomb;
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 1771: Landroid/support/v4/app/BaseFragmentActivityHoneycomb;.onCreateView (Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x10d3
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.startLockTask, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 217: Landroid/app/Activity;.startLockTask ()V
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x1188
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.content.ContextWrapper.checkSelfPermission, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 459: Landroid/content/ContextWrapper;.checkSelfPermission (Ljava/lang/String;)I
08-12 03:25:12.610 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x11fb
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve check-cast 216 (Landroid/os/PersistableBundle;) in Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x1f at 0x12ff
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.startPostponedEnterTransition, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 221: Landroid/app/Activity;.startPostponedEnterTransition ()V
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x132c
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication I/dalvikvm: Could not find method android.app.Activity.onEnterAnimationComplete, referenced from method com.example.sampleemdkapplication.MainActivity.access$super
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve virtual method 117: Landroid/app/Activity;.onEnterAnimationComplete ()V
08-12 03:25:12.620 8995-8995/com.example.sampleemdkapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x13e1
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: DexOpt: resolve class illegal access: Lcom.example.sampleemdkapplication/MainActivity; -> Lcom/symbol/emdk/scanandpair/ScanAndPairException;
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to resolve exception class 1854 (Lcom/symbol/emdk/scanandpair/ScanAndPairException;)
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY: unable to find exception handler at addr 0x98
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY:  rejected Lcom.example.sampleemdkapplication/MainActivity;.onOpened (Lcom/symbol/emdk/EMDKManager;)V
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY:  rejecting opcode 0x0d at 0x0098
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: VFY:  rejected Lcom.example.sampleemdkapplication/MainActivity;.onOpened (Lcom/symbol/emdk/EMDKManager;)V
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: Verifier rejected class Lcom.example.sampleemdkapplication/MainActivity;
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: Class init failed in newInstance call (Lcom.example.sampleemdkapplication/MainActivity;)
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication D/AndroidRuntime: Shutting down VM
08-12 03:25:12.630 8995-8995/com.example.sampleemdkapplication W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4163cd58)
08-12 03:25:12.660 8995-8995/com.example.sampleemdkapplication E/AndroidRuntime: FATAL EXCEPTION: main
                                                                               Process: com.example.sampleemdkapplication, PID: 8995
                                                                               java.lang.VerifyError: com.example.sampleemdkapplication/MainActivity
                                                                                   at java.lang.Class.newInstanceImpl(Native Method)
                                                                                   at java.lang.Class.newInstance(Class.java:1208)
                                                                                   at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
                                                                                   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2107)
                                                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2239)
                                                                                   at android.app.ActivityThread.access$800(ActivityThread.java:141)
                                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1202)
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                   at android.os.Looper.loop(Looper.java:136)
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:5045)
                                                                                   at java.lang.reflect.Method.invokeNative(Native Method)
                                                                                   at java.lang.reflect.Method.invoke(Method.java:515)
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
                                                                                   at dalvik.system.NativeStart.main(Native Method)

Please Register or Login to post a reply

2 Replies

K KENNETH SMITH

Hello Pietro,

Installing the latest EMDK runtime via the link you sent did the trick.

Thanks!

P Pietro Francesco Maggi

Hi Ken,
on which device have you tested the sample and with which BSP?

From the error it seems that the sample was not able to find a virtual method, have you installed the latest EMDK runtime on your device?

Ciao
~Pietro

CONTACT
Can’t find what you’re looking for?