Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

zipalign command not found for Android APK publishing

Posted: April 18, 2016
Written by: Saints At Play
Category: Android

Developing Ionic Apps for Android solely from the command line? Receiving the following error when trying to run the zipalign utility?

-bash: zipalign: command not found

Assuming you're using a unix based OS here's how to fix this...

More »

Creating a Google Play Developer account and uploading your first Cordova PhoneGap Android App

Posted: December 18, 2014
Written by: Saints At Play
Category: Android

The beauty of being a developer in the second decade of the 21st century is the sheer range and diversity of platforms, tools and environments you can develop with and for. It's no exaggeration to say that, on this score, we really are spoiled for choice and nowhere does this hold truer than developing for the Android platform.

In this tutorial we're going to guide you through the following steps:

  • Setting up a Google Play publisher account
  • Generating, signing and optimising an APK file
  • And, finally, uploading your APK file for distribution on Google Play... 

Read on...

More »

Renaming a published Android App from CordovaApp to your App's project name

Posted: December 16, 2014
Written by: Saints At Play
Category: Android

Here's an interesting quirk when using the Ionic framework (version 1.2.13) with Cordova PhoneGap (version 4.1.2) to create an Android App build. You run the following command:

ionic build --release android

And once the build process has successfully completed the CLI displays the following output:

BUILD SUCCESSFUL
Total time: 8 seconds
Built the following apk(s):
    /Path-to-your-project/platforms/android/ant-build/CordovaApp-release-unsigned.apk

The only problem? The built apk file is named as CordovaApp and NOT as the name of your project.

Resolving this involves a few steps to work through...

More »

Android directory naming convention caveat for PhoneGap Apps

Posted: December 15, 2014
Written by: Saints At Play
Category: Android

Here's an interesting 'gotcha' when developing Android Apps with Cordova PhoneGap and Ionic Framework...

More »

MacOS Android publishing with Intel HAXM x86 hardware acceleration error

Posted: December 14, 2014
Written by: Saints At Play
Category: Android

There you are ready to publish your PhoneGap App to your Android Handset with the following command:

cordova run android --device

Or, if you're using the Ionic framework CLI instead:

ionic run android

Only to be presented with the following error message AFTER being informed that the build was successful:

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing).

Resolving this is, thankfully, quite simple...

More »

Enabling Android Developer Options on an Android handset

Posted: December 10, 2014
Written by: Saints At Play
Category: Android

Ready to publish your PhoneGap App to your Android handset for testing? Developing on a Mac and struggling to get the handset registering on your machine?  Read on...

More »

Installing the Android SDK on Mavericks

Posted: July 17, 2014
Written by: Saints At Play
Category: Android

Installing the Android SDK for Cordova PhoneGap mobile development can seem a little involved and challenging at first glance but in the following tutorial we're going to take you through how to do just that.

More »

Latest Tweets