Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Question
Enter Task Name: Build Android and Android Signing
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
We are trying to automate deployments to google play store for which we need to build in production configuration, which is one of the build configuration set for Android project.
The build is not failing, but when installed on a device, application hangs splash screen when build Azure Pipeline with Xamarin Build task and Android signing. But when the project is archived using Visual Studio archive tool in the same production configuration it installs and runs fine on the same device. Interestingly when the same build pipeline is used to generate APK and publish to app center works perfectly. Please help us
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
[Insert error from the logs here for a quick overview]
I am having the same issue, though the .apk that my build pipeline deploys to our AppCenter page also freezes on the splash screen. There are no errors during build, and using the Archive feature in Visual Studio on the same branch produces a working .apk that doesn't freeze.
EDIT UPDATE: AppCenter builds seem to be working just fine, both manually or automatically triggered. It seems to be limited to builds from the Azure Build pipeline only. I haven't yet tested a Release pipeline to see if the behavior is the same.
Any updates on this? We're still unable to successfully build our Xamarin app through Azure.
I was able to solve this by enabling Zipalign in the Android signing task. I don't know why this worked for my build, but it fixed the splash screen freeze and the app seems to run well.
@nickwhyte - thanks for sharing your solution. @draconastar - can you check if this works for you please?
Closing since we don't think this is an issue with the Xamarin Android task. If zipalign doesn't help, please let us know.
Any updates on this? We're still unable to successfully build our Xamarin app through Azure.
Did you ever find a resolution? I am having this same problem, but I do have zipalign enabled. Debug builds and APKs generated via Visual Studio both work fine.
Thanks , was facing the same issue, after changing zipalign: true started working
Most helpful comment
I was able to solve this by enabling Zipalign in the Android signing task. I don't know why this worked for my build, but it fixed the splash screen freeze and the app seems to run well.