Android 将Google Play开发者API更新至版本3
我正在从Jenkins创建并推送应用程序到play store,但它正在崩溃。我遇到以下错误Android 将Google Play开发者API更新至版本3,android,jenkins,google-play-developer-api,Android,Jenkins,Google Play Developer Api,我正在从Jenkins创建并推送应用程序到play store,但它正在崩溃。我遇到以下错误 此版本的Play Developer API不再可用。 有关更多信息,请参阅。 如何为已退出的应用升级到版本3 请大家分享一下这些步骤好吗?这里是谷歌的,并不多。基本上,在构建客户机的地方,请求api的version='v3',以便发出的请求是https://www.googleapis.com/androidpublisher/v3/而不是v2或v1。对于python,类似于 service =
- 此版本的Play Developer API不再可用。 有关更多信息,请参阅。
https://www.googleapis.com/androidpublisher/v3/
而不是v2或v1。对于python,类似于
service = googleapiclient.discovery.build(
serviceName='androidpublisher', version='v3', http=http,
cache_discovery=False)
这是一个谷歌的例子:
# Authenticate and construct service.
service, flags = sample_tools.init(
argv,
'androidpublisher',
'v3',
__doc__,
__file__,
parents=[argparser],
scope='https://www.googleapis.com/auth/androidpublisher')