我正在尝试升级Eclipse中的应用程序。这就是我在命令行中所做的:
npm install -g cordova
cordova create myapp com.myapp.myapp
cd myapp
cordova platform add android
cordova build android
cordova plugin add org.apache.cordova.device
cordova plugin add org.apache.cordova.network-information
cordova plugin add org.apache.cordova.battery-status
cordova plugin add org.apache.cordova.device-motion
cordova plugin add org.apache.cordova.device-orientation
cordova plugin add org.apache.cordova.geolocation
cordova plugin add org.apache.cordova.camera
cordova plugin add org.apache.cordova.media-capture
cordova plugin add org.apache.cordova.media
cordova plugin add org.apache.cordova.file
cordova plugin add org.apache.cordova.file-transfer
cordova plugin add org.apache.cordova.dialogs
cordova plugin add org.apache.cordova.vibration
cordova plugin add org.apache.cordova.contacts
cordova plugin add org.apache.cordova.globalization
cordova plugin add org.apache.cordova.splashscreen
cordova plugin add org.apache.cordova.inappbrowser
cordova plugin add org.apache.cordova.console
我将此项目导入eclipse,但src文件夹显示所有文件中的错误。我尝试在Resource > Resource Filters
中排除所有文件并清理项目,但所有错误都再次出现。请帮助解决此错误。感谢。