I'm getting “Error: No resource found that matches the given name (at value with value @integer/google_play_services_version)”

前端 未结 7 451
失恋的感觉
失恋的感觉 2020-12-29 01:27

I\'m developing an app on Ionic Framework/cordova, and when I try \"cordova run android\" I get this:

\"Error: No resource found that matches the give

7条回答
  •  一个人的身影
    2020-12-29 01:57

    You need to add the play services library to your project. This doesn't work by jus adding an external jar. You need to import the play_services_lib project into your workspace. And then add this library to you project by going to

    Your Project -> Properties -> Android -> Library

    Checkout this link for detailed explanation on how to import the play_services_lib into your workspace

    http://developer.android.com/google/play-services/setup.html

    After this the error will vanish and you need not add any fixed value.

提交回复
热议问题