Month: April 2014

Signing Your Android Applications

Yeah, it seems easy task for ‘real developers’ but not for beginner.
The easiest way to do this by Eclipse, so you must have an Eclipse before we start and ofcourse, you must have an Android project to signing. If you don’t have it, take a look into this tutorial.


(1) Start your Eclipse ๐Ÿ˜€


(2) File – New – Other – Android Project from Existing Code




(3) Choose your Cordova application that you made before with Netbeans



(4) You can see MyApp and MyApp-CordovaLib.



Right click at MyApp – Android tools – Export signed application package and follow the step

(5) * Create new keystore

** Location: Your location file to store your new keystore

** Password: A password for your keystore


* Key Creation

** Alias: Alias your application

** Password: your keystore password

** Validity (years): Your validity years application

** Firstname and Lastname: You already know it ๐Ÿ˜€

** […] Clear description and you can click next at the bottom of the form


* Destination apk: Fill with location and name for your apk and Finish.



Congratulation! you made it. You can upload MyApp.apk to your google play account.


Creating Android With Cordova 3.4.0 and Netbeans 8.0

Today, I just knew that Netbeans already have release version 8.0 and the other thing makes me happy is Cordova is easily configuring with this Netbeans.

In this post, I will lead you to create an Android application with Cordova 3.4.0 and Netbeans 8.0.

(1) Open your Netbeans 8.0 and File – New Project

(2) Choose an HMTL5 categories, Cordova Application project and next button.



(3) Fill in Project Name, Project Location, Project Folder and Next



(4) Choose Javascript Library and Next.

Notice; If you don’t add the JS library at this time, you can add later including it normally like creating an HTML project.


(5) Application ID, Application Name, Version and Finish


Wait for Netbeans upgrading Cordova platform.


(6) Run in Cordova Android Emulator



(7) Open your terminal in Netbeans. You can find it in Window – IDE Tools – Terminal.

Go to your Android SDK Linux tools folder

$ cd /home/kenzominang/android-sdk-linux/tools
$ ./android avd



(8) Choose one of AVD and start.


(9) And now you can build and start your Cordova application



That’s it. You have done creating an Android application with Netbeans.

If you have done developing it, you must sign in your application before uploading it into google play.

Updating Android SDK

Recently I am facing a problem when I create an Android application with Cordova platform. It happend when I execute $ cordova platform add android. The error line showing like this;

at /home/admin/.cordova/lib/android/cordova/3.3.0/bin/lib/check_reqs.js:87:29

This error message clear to me because when I opened check_reqs.js file, I found an information what I must do. Yeah, updating Android SDK or configuring Android SDK Path. But on this post, I will show you how to update The Android SDK;

$ cd android-sdk-linux/tools
$ ./android update sdk --no-ui

For further discussion, take a look at this