Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This version of the Play Developer API is no longer available #791

Open
AceCoderLaura opened this issue Feb 4, 2020 · 2 comments
Open

Comments

@AceCoderLaura
Copy link

I tried to use the publish-apk goal to upload my .apk to the Play Store but I got this error:

[16:52:03] :	 [Step 8/8] [INFO] ------------------------------------------------------------------------
[16:52:03] :	 [Step 8/8] [INFO] BUILD FAILURE
[16:52:03] :	 [Step 8/8] [INFO] ------------------------------------------------------------------------
[16:52:03] :	 [Step 8/8] [INFO] Total time: 5.801s
[16:52:03] :	 [Step 8/8] [INFO] Finished at: Tue Feb 04 16:52:03 AEDT 2020
[16:52:03] :	 [Step 8/8] [INFO] Final Memory: 16M/151M
[16:52:03] :	 [Step 8/8] [INFO] ------------------------------------------------------------------------
[16:52:03] :	 [Step 8/8] [Maven Watcher] building report document...
[16:52:03] :	 [Step 8/8] [Maven Watcher] building report document done
[16:52:03] :	 [Step 8/8] [Maven Watcher] writing report to C:\BuildAgent\temp\buildTmp\maven-build-info.xml
[16:52:03] :	 [Step 8/8] [Maven Watcher] done writing report
[16:52:03]W:	 [Step 8/8] [ERROR] Failed to execute goal com.simpligility.maven.plugins:android-maven-plugin:4.6.0:publish-apk (default-cli) on project publish: 410 Gone
[16:52:03]W:	 [Step 8/8] [ERROR] {
[16:52:03]W:	 [Step 8/8] [ERROR] "code" : 410,
[16:52:03]W:	 [Step 8/8] [ERROR] "errors" : [ {
[16:52:03]W:	 [Step 8/8] [ERROR] "domain" : "androidpublisher",
[16:52:03]W:	 [Step 8/8] [ERROR] "message" : "This version of the Play Developer API is no longer available. For more information see https://android-developers.googleblog.com/2019/03/changes-to-google-play-developer-api.html.",
[16:52:03]W:	 [Step 8/8] [ERROR] "reason" : "apiDeprecated"
[16:52:03]W:	 [Step 8/8] [ERROR] } ],
[16:52:03]W:	 [Step 8/8] [ERROR] "message" : "This version of the Play Developer API is no longer available. For more information see https://android-developers.googleblog.com/2019/03/changes-to-google-play-developer-api.html."
[16:52:03]W:	 [Step 8/8] [ERROR] }
[16:52:03]W:	 [Step 8/8] [ERROR] -> [Help 1]
[16:52:03]W:	 [Step 8/8] [ERROR] 
[16:52:03]W:	 [Step 8/8] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[16:52:03]W:	 [Step 8/8] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[16:52:03]W:	 [Step 8/8] [ERROR] 
[16:52:03]W:	 [Step 8/8] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[16:52:03]W:	 [Step 8/8] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

FULL LOG

@mosabua
Copy link
Member

mosabua commented Feb 5, 2020

We probably have to either remove that goal or rewrite it. Not sure if anybody is using it.

@AceCoderLaura
Copy link
Author

All the TeamCity tutorials on the 'net for automatically uploading APKs either use Gradle or maven + this plugin. People are probably using it or going to use it in the future as long as those articles are out there.

I ended up using this in the end. Might be good reference code for resolving this issue if you choose to repair it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants