<NME> index.js
<BEF> var CordovaPluginAdapter = require('./CordovaPluginAdapter.js');
var cordovaPluginAdapter = new CordovaPluginAdapter();

var cordova = {};
try {
    cordova = require('./../platforms/android/assets/www/cordova.js');
} catch (e) {
    console.log('Could not find cordova.js. Is it present in the platforms directory ? ');
}

cordova.init(cordovaPluginAdapter);

module.exports = cordova;

<MSG> Updated how Cordova-js location is picked up

<DFF> @@ -1,13 +1,7 @@
 var CordovaPluginAdapter = require('./CordovaPluginAdapter.js');
 var cordovaPluginAdapter = new CordovaPluginAdapter();
 
-var cordova = {};
-try {
-    cordova = require('./../platforms/android/assets/www/cordova.js');
-} catch (e) {
-    console.log('Could not find cordova.js. Is it present in the platforms directory ? ');
-}
-
+var cordova = require('./../platforms/android/assets/www/cordova.js');
 cordova.init(cordovaPluginAdapter);
 
 module.exports = cordova;

Updated how Cordova-js location is picked up