mauron85 / cordova-plugin-background-geolocation-example

51 stars 54 forks source link

Your config.xml file does not have a <content> element. #1

Open njleonzhang opened 8 years ago

njleonzhang commented 8 years ago

ionic build android

throw error.

Error happened [Error:
Your config.xml file does not have a <content> element.
Add something like: <content src="index.html"/>]
Error:
Your config.xml file does not have a <content> element.
Add something like: <content src="index.html"/>
    at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/config-xml.js:64:15
    at _fulfilled (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:816:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:749:13)
    at /usr/local/lib/node_modules/ionic/node_modules/q/q.js:557:44
    at flush (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:108:17)
    at doNTCallback0 (node.js:417:9)
    at process._tickCallback (node.js:346:13)