For basic information on building multiple APKs for an application, consult Xamarin's documentation on Building ABI-Specific APKs. This article will discuss how to build an APK that will target a single ABI for sample project
First, install Ruby. You can test by typing
rake from your command prompt.
The rakefile is adapted from the original rakefile from Xamarin's documentation and made to work with
ContentPage.Droid project. It performs each of the steps that were described in the official Xamarin's documentation:
debug_keystorekeystore file. Change to your own keystore file with corresponding password to try it out.
To build the split APKs for the sample app:
Developer Command Prompt for VS 2017
rake build ==> Building an APK for ABI x86 with ./Properties/AndroidManifest.xml.x86, android:versionCode = 60814120. ==> Building an APK for ABI armeabi-v7a with ./Properties/AndroidManifest.xml.armeabi-v7a, android:versionCode = 20814120.
ContentPage/Droid/ |__bin.x86/com.pdftron.customrenderer_signed.apk |__bin.armeabi-v7a/com.pdftron.customrenderer_signed.apk