Posted: Tuesday 16th December, 2014 - 10:47pm
Author: James Griffiths
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...
Read more...
Posted: Monday 15th December, 2014 - 10:44pm
Author: James Griffiths
Read more...
Posted: Sunday 14th December, 2014 - 10:38pm
Author: James Griffiths
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...
Read more...
Posted: Wednesday 10th December, 2014 - 10:25pm
Author: James Griffiths
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...
Read more...
Posted: Tuesday 9th December, 2014 - 10:18pm
Author: James Griffiths
Developing an Android App on Mac OS X? Using the Ionic framework from the command line to trigger the Android Emulator? Seeing the following error returned?
ERROR Unable to load VM from snapshot
Thankfully the fix for this error is quite simple...
Read more...
Posted: Sunday 7th December, 2014 - 10:02pm
Author: James Griffiths
Read more...