You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It runs successfully, but when I upload the my.app-signed.aab file to Google Console (for first time release setup), i get the error message 'You have uploaded a package signed in debug mode'. As you can see from the second task the build config is in release.
I have verified that the package is actually signed with the intended certificate from the key store by running:
Hi @svetvasilev , Signing for apk is controlled via build setting, can you please check if you have configured your app to be signed using release config as mentioned in official docs
Hi @tarunramsinghani, i am uncertain i completely understand your response. You are pointing me to the official documentation for Google Play and how to sign an app bundle (.aab) with upload key so that it can be uploaded to the Play store.
However you refer to signing of the APK fia build setting. Could you pls elaborate more on this?
Fyi i have currently resolved this by doing the signing as part of the app build step, which does dotnet publish with parameters for the keystore, key alias and passwords for these. The question then is whether the AndroidSigning task is needed at all?
Perhaps i have to do a dotnet build in the app build step, and then use the AndroidSigning task to sign the APK and AAB files?
The "AndroidSigning" Task is just the wrapper around the apksigner tool. The signing is controlled via the parameters provided that are passed on the tool. And whether it is debug signed, or release signed are controlled by inputs to tool which is pass through in case of the task. My ask was to validate all the parameters and certificates you used to make sure that it will produce the required output with apksigner tool.
New issue checklist
Task name
AndroidSigning@3
Task version
3.246.3
Issue Description
My yaml pipeline has the following definition for prepping the agent host (ubuntu latest) and signing the package after building a MAUI Android app:
It runs successfully, but when I upload the my.app-signed.aab file to Google Console (for first time release setup), i get the error message 'You have uploaded a package signed in debug mode'. As you can see from the second task the build config is in release.
I have verified that the package is actually signed with the intended certificate from the key store by running:
I have also verified if the apk manifest says something about debugability lik this:
apkanalyzer manifest debuggable c:\path\to\app\my.app-Signed.apk
And the output is false
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu latest
Relevant log output
Full task logs with system.debug enabled
Repro steps
The text was updated successfully, but these errors were encountered: