Setup ADT and Android SDK into your eclipse. Then you need to setup cordova using NPM (node package manager) from that link. Download Node.js (https://nodejs.org/en/) and install cordova after that. Open terminal/command line and type this command to install cordova into your machine.

npm install -g cordova

Download Jquery and Ratchet from their official website. You should unzip it to proper location. For this tutorial, we using Jquery 3.1.1 and Ratchet 2.0.2.