switch org.apache.cordova.core.device to org.apache.cordova.device