Xamarin Android code signing
Configure code signing in Xamarin Studio⚓
You can specify the code signing configuration for your Xamarin Android project by creating a signed APK in Xamarin Studio.
Log into your
Double click on your Xamarin Android project to open
Android Package Signingin
Select your platform in the
Configuration - Platform.
Sign .APK file using the following keystore details.
Fill out the signing information.
Use the same keystore path locally and on bitrise.io for Xamarin Android⚓
Do not use environment variables in keystore path
You cannot use environment variables in your keystore path in your Xamarin project! The keystore path has to be relative to the folder of your Xamarin Android project. You can also use an absolute path.
You can use the same path on your local machine and on bitrise.io by putting your keystore into your repository.
Don't forget to gitignore your keystore in your repository.
Since your keystore is gitignored, you have to upload your keystore to the
GENERIC FILE STORAGE of Bitrise and download it to the same location in the build.
Dashboard, click on your
Scroll down to the
GENERIC FILE STORAGEfield.
Type your environment variable name here in the first field.
In our example, we use
Upload your keystore file in the
Upload file field.
Your environment variable (for example,
$BITRISEIO_XAMARIN_KEYSTORE_URL) will be automatically available with the download URL of your keystore file.
Navigate back to your workflow.
File Downloaderstep before the
Xamarin Archivestep. The
File Downloaderstep will get a
Download source urlinput.
Type your environment variable, for example,
Download source urlfield.
Set your keystore path in the
Download destination path.
Ensure the same keystore path
Ensure that your Bitrise keystore path is the same as your local path relative to your project root. For example, if
keystore.jksis in your project's root, then your Bitrise keystore path has to be