Google电子钱包API错过了google-play-services

Tap*_*ave 2 java eclipse android android-pay

我尝试在自己的应用中使用Google Wallet API.我将Eclipse和SDK更新到最新版本.我尝试使用谷歌https://developers.google.com/commerce/wallet/instant-buy/android/resources/instant-buy-android-sample.zip的最后一个例子google-play-services.jar(文件大小632030).

但我得到错误:

无法解析导入com.google.android.gms.wallet

因为在jar文件中的miss wallet文件夹.

哪里可以拿google-play-services.jar钱包最后?

小智 6

该库不是可以从android sdk下载的库

你必须填写表格现在提交请求.在钱包教程中,他们提到了它

重要提示:要运行Instant Buy for Android API示例,您需要下载Google Play服务第二方库并将其包含在您的开发项目中.如果您还没有Google联系人为您提供访问权限,请提交即时购买权益表单.Google将向有资格的商家做出回应,说明如何获取所需的库和凭据.

链接在这里