Quantcast
Viewing all articles
Browse latest Browse all 8068

Ti.Map - Can't detect google play service

Hi everyone, I'm trying to acces google maps by following the documentation but can't get it to work at all. I keep getting a message saying that google play service is not installed, even if it actually is.

[WARN]  dalvikvm: VFY: unable to resolve static field 963 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x003f
[WARN]  dalvikvm: VFY: unable to resolve static field 963 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x004c
[WARN]  dalvikvm: VFY: unable to resolve static field 958 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0057
[WARN]  dalvikvm: VFY: unable to resolve static field 954 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0062
[WARN]  dalvikvm: VFY: unable to resolve static field 968 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x006d
[WARN]  dalvikvm: VFY: unable to resolve static field 965 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x007f
[WARN]  dalvikvm: VFY: unable to resolve static field 962 (common_google_play_services_network_error_title) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0091
[WARN]  dalvikvm: VFY: unable to resolve static field 963 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x00a3
[WARN]  dalvikvm: VFY: unable to resolve static field 963 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x00b5
[WARN]  dalvikvm: VFY: unable to resolve static field 960 (common_google_play_services_invalid_account_title) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x00c7
[WARN]  dalvikvm: VFY: unable to resolve static field 963 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x00da
[WARN]  dalvikvm: VFY: unable to resolve static field 955 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x000f
[WARN]  dalvikvm: VFY: unable to resolve static field 952 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0016
[WARN]  dalvikvm: VFY: unable to resolve static field 966 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x001d
[WARN]  dalvikvm: VFY: unable to resolve static field 963 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0007
[WARN]  dalvikvm: VFY: unable to resolve static field 957 (common_google_play_services_install_text_tablet) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0018
[WARN]  dalvikvm: VFY: unable to resolve static field 956 (common_google_play_services_install_text_phone) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0038
[WARN]  dalvikvm: VFY: unable to resolve static field 953 (common_google_play_services_enable_text) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x003f
[WARN]  dalvikvm: VFY: unable to resolve static field 967 (common_google_play_services_update_text) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0046
[WARN]  dalvikvm: VFY: unable to resolve static field 964 (common_google_play_services_unsupported_text) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0066
[WARN]  dalvikvm: VFY: unable to resolve static field 961 (common_google_play_services_network_error_text) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x006d
[WARN]  dalvikvm: VFY: unable to resolve static field 959 (common_google_play_services_invalid_account_text) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x0074
[WARN]  dalvikvm: VFY: unable to resolve static field 963 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[DEBUG] dalvikvm: VFY: replacing opcode 0x60 at 0x000c
[ERROR] GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

I use titanium 3.2.0 GA and Ti.map 2.1.3. I tested it on several emulator WITH play service installed (API15 -> 19) and on a samsung galaxy S with android 4.0.3. on all the devices, play service is 4.0.34 (924341-34). service sdk is rev 13 (I also tried to remove play service and use the froyo version, but not success either).

After some digging on stackoverflow and the android doc, it seems that google require that the play service library must be linked to the project at compilation time. Is it possible to do this with titaniumStudio / titanium cli ?


Viewing all articles
Browse latest Browse all 8068

Trending Articles