简体   繁体   中英

No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version')

I am trying to link google play services to my project that i had preveously developed a month ago.

So i followed the below steps:

  • I imported playservices library to workspace (i ticked the copy option)
  • right clicked on project, android add library, i selected play services and clicked apply and ok

What is happening

  • I am not able to link the services lib even after doing above steps

  • I get the error as No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').

When i check the proj-lib --- even after linking the playservices i can see libraries are not linked properly

在此处输入图片说明


How can i resolve this !!

I even cleaned workspace and restarted it .... updated playservices version ....still no effect

<application... >

 <meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />

 ...
 </application>

add above to your application manifest.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM