Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cordova_plugins.js is missing

I keep getting the following error when I try to launch an inappbrowser:

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8000/cordova_plugins.js

When I look for "cordova/platforms/android/assets/www/cordova_plugins.js" the file is indeed missing.

The strange thing is that I see:

Writing out cordova_plugins.js...

My build process looks like this:

cordova create cordova com.myapp.mobile myapp
cd cordova
cordova platform add android
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
cordova build
cordova serve android
like image 268
Guy Korland Avatar asked Aug 28 '13 11:08

Guy Korland


1 Answers

run cordova plugin add cordova-plugin-device

like image 118
Awoyemi-Patrick Avatar answered Sep 20 '22 11:09

Awoyemi-Patrick