Pergunta

Well I try to use google maps api v2. so that I need to import:

sdk/extras/google/google_play_service

if I import, there are some errors

[2014-02-13 22:32:55 - google-play-services_lib] Unable to resolve target 'android-9'
[2014-02-13 22:32:56 - google-play-services_lib] Unable to resolve target 'android-9'
[2014-02-13 22:34:51 - google-play-services_lib] Unable to resolve target 'android-8'
[2014-02-13 22:34:52 - google-play-services_lib] Unable to resolve target 'android-8'

I have uninstall everything and install again but problem is still accuer.

Foi útil?

Solução

You have to download the right Android API version from adt (here 8 & 9).

Outras dicas

Are you use you have downloaded the correct verion of google play services. There are two versions 1. for API 13 or greater 2. for API less then 13

If yes then Right click on your project select Properties(Alt+Enter), goto Android(Project build Target)-> Check Android 4.4.2 or earlier version which you have, click on Apply-> OK, that's it. finally clean your project.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top