Note: In order to packaging app make sure you already have androidjs-builder
cd myfirstapp androidjs b
It will generate apk file inside dist folder
dist
If this build command generates any error, try to build with force command
build
force command
androidjs b -f