PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, September 28, 2022

[FIXED] How to deploy APK from TFS to Google Play?

 September 28, 2022     android, azure-devops, continuous-deployment, google-play, tfs     No comments   

Issue

I'm in the research phase of a native Android application side project for which I would like to utilize Android Studio and Visual Studio Online (TFS). The app will also have web service portion (WCF/WebAPI TBD) written in .Net.

So far I've found how to integrate TFS with Android Studio and build the package using Maven, but am hung up on how to automate the package deployment from TFS to Goole Play.

Is it possible to have TFS deploy to Google Play?

  • If so, how do I configure TFS to do this?
  • If not, is there an alternative ALM I should use that would meet all these requirements (SCCM, planning, building, testing, deployment to website and Google Play)?

Note: I may want to monetize this so it will be closed source.


Solution

To upload an existing task to VSO, you need to use the “TFS Cross Platform Command Line”, also known as TFX.

Instructions are in the README.md at the GitHub. Basically:

  • Install Node.JS from the Node website.
  • Run at the command-line: npm install –g tfx-cli
  • Run tfx login and enter your collection url (probably https://youraccount.visualstudio.com) and your personal access token
  • Run tfx upload <folder> to upload your task.
  • Run tfx delete <GUID> to delete your task. TFX does not overwrite, so you’ll need to delete before uploading again.

Check this blog: https://www.simple-talk.com/sql/database-delivery/writing-build-vnext-tasks-for-visual-studio-online/

Then you can add this task in your build steps in vNext build to automate deployment from Visual Studio Online to Google Play.



Answered By - Cece Dong - MSFT
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing