2

我尝试在自己的应用中使用 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-file 未命中wallet文件夹中。

我可以在哪里google-play-services.jar使用钱包最后?

4

1 回答 1

6

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

您现在必须通过填写表格来提交请求。在钱包教程中,他们提到了它

重要提示:要运行 Instant Buy for Android API 示例,您需要下载 Google Play Services 第二方库并将它们包含在您的开发项目中。如果您还没有 Google 联系人为您提供访问权限,请提交即时购买兴趣表单。Google 将向符合条件的商家回复有关如何获取所需库和凭据的说明。

链接在这里

于 2013-10-22T11:38:52.167 回答