I am new to Apache Cordova and I can\'t get the Cordova \"hello world\" application to display on Android. I\'m talking about the default application obtain
Goto Platforms > android > cordova > lib > Here you will find device.js and emulator.js
emulator.js
In emulator.js you must change the following line (311) from ->
return exec('adb -s -d' + resolvedTarget.target + ' install -r -d "' + apk_path + '"', os.tmpdir())
To return exec('adb -d -s ' + resolvedTarget.target + ' install -r "' + apk_path + '"')
device.js
In device.js you must change the following line (101) from ->
var cmd = 'adb -s ' + resolvedTarget.target + ' install -r -d "' + apk_path + '"';
To var cmd = 'adb -d -s ' + resolvedTarget.target + ' install -r "' + apk_path + '"';
Once you have changed these rebuild the application and run it on your emulator!