Here is a list of what needs to happen in it’s simplest form:
- Make a private key
- Compile your app
- Sign your app
- Align your app
- Upload to the Android Market
1. Make a private key
There are a variety of ways to make a private key on Mac OS X, but for this tutorial I’m going to be using keytool. Keytool is an executable that’s included with the Mac OS X Development Kit. So if you’ve ever done anything with Cocoa for iOS or Mac OS, you’re good. Otherwise, you may have to download the developer tools from Apple to be able to use keytool.
Basically, just type the command below in Terminal. It will ask your for a password, so type it twice (and remember it).
keytool -genkey -v -keystore android-test.keystore
2. Compile your App
Open up your app in Eclipse. Open your AndroidManifest.xml file. Using the Android SDK (the Manifest tab), under Export, select Export an unsigned APK.
3. Sign your app
Now it’s time go back to Terminal. You will now use Jarsigner to sign your application. Again, Jarsigner is part of the Apple Development Kit. The command you need to use will look something like this:
jarsigner -verbose -keystore android-test.keystore "PATH_TO_YOUR_APP.apk" alias_name
4. Align your app
/SDKs/android-sdk-mac_86/tools/zipalign -f -v 4 "/SDKs/android-sdk-mac_86/Versed.apk" "/Users/Cam/Versed.apk"

