Hello,
I had Google Play Services working on an app of mine and since the last 
update I've been working on a more native approach, by changing most of my 
code to native. However, for some reason, the Google Play code no longer 
works on Android 2.3.x, as it always crashes with this issue:


01-10 14:31:17.371 W/dalvikvm(11162): VFY: unable to resolve instance field 
> 33
> 01-10 14:31:17.371 D/dalvikvm(11162): VFY: replacing opcode 0x52 at 0x0012
> 01-10 14:31:17.371 D/dalvikvm(11162): VFY: dead code 0x0014-0018 in 
> Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 
> (Landroid/content/res/Resources;)Z
> 01-10 14:31:17.390 I/dalvikvm(11162): Failed resolving 
> Lcom/google/android/gms/internal/bn$b; interface 719 
> 'Landroid/view/View$OnAttachStateChangeListener;'
> 01-10 14:31:17.390 W/dalvikvm(11162): Link of class 
> 'Lcom/google/android/gms/internal/bn$b;' failed
> 01-10 14:31:17.390 E/dalvikvm(11162): Could not find class 
> 'com.google.android.gms.internal.bn$b', referenced from method 
> com.google.android.gms.internal.bn.a
> 01-10 14:31:17.390 W/dalvikvm(11162): VFY: unable to resolve new-instance 
> 1321 (Lcom/google/android/gms/internal/bn$b;) in 
> Lcom/google/android/gms/internal/bn;
> 01-10 14:31:17.390 D/dalvikvm(11162): VFY: replacing opcode 0x22 at 0x0006
> 01-10 14:31:17.390 D/dalvikvm(11162): VFY: dead code 0x0008-000a in 
> Lcom/google/android/gms/internal/bn;.a 
> (Lcom/google/android/gms/internal/bj;I)Lcom/google/android/gms/internal/bn;
>
> I was using ant but even with Eclipse, using older SDKs, etc, it still 
won't run Google Play. I'm calling the following java code:

int errorCode = 
> GooglePlayServicesUtil.isGooglePlayServicesAvailable(context);
>
> Does anyone have any idea what might be causing this problem? It runs fine 
on Android 4.x devices, which makes sense since they support 
OnAttachStateChangeListener, but why would Google Play Services suddenly 
start calling that code? Shouldn't it be checking whether it's safe to call 
it like it did before?

Thank you for your help.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to