Installation failure after upgrading from java-client 1.7.0 to 2.1.0

I have upgraded to java-client-2.1.0 7 now the installation is failing.
is there something change related to the desired capabilities?

This is the capabilites that worked for me on the java-client 1.7:

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(“deviceName”,genMeth.getValueFromPropFile(“deviceName”));
capabilities.setCapability(“device”,genMeth.getValueFromPropFile(“device”));
capabilities.setCapability(“udid”, genMeth.getValueFromPropFile(“udid”));
capabilities.setCapability(CapabilityType.VERSION,genMeth.getValueFromPropFile(“CapabilityType.VERSION”));
//capabilities.setCapability(CapabilityType.PLATFORM,genMeth.getValueFromPropFile(“CapabilityType.PLATFORM”));

	capabilities.setCapability("platformName",genMeth.getValueFromPropFile("platformName"));
	capabilities.setCapability("app",genMeth.getValueFromPropFile("pogoplugPath"));

See error in server:
2014-12-03 10:40:35:711 - error: Failed to start an Appium session, err was: Error: Unable to install [/Users/qa/Desktop/Appium/Pogoplug.app] to device with id [dc32ad3627707abcf57c9844d4ed95e4c212e5a9]. Error [Error: Command failed: ]

2014-12-03 10:40:35:714 - info: [debug] Error: Unable to install [/Users/qa/Desktop/Appium/Pogoplug.app] to device with id [dc32ad3627707abcf57c9844d4ed95e4c212e5a9]. Error [Error: Command failed: ]
at /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/common.js:147:10
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket. (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
2014-12-03 10:40:35:714 - info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Unable to install [/Users/qa/Desktop/Appium/Pogoplug.app] to device with id [dc32ad3627707abcf57c9844d4ed95e4c212e5a9]. Error [Error: Command failed: ])”,“origValue”:“Unable to install [/Users/qa/Desktop/Appium/Pogoplug.app] to device with id [dc32ad3627707abcf57c9844d4ed95e4c212e5a9]. Error [Error: Command failed: ]”},“sessionId”:null}

2014-12-03 10:40:35:718 - info: <-- POST /wd/hub/session 500 15447.010 ms - 424

PLS ignore this post since i have overcome it!
Thanks…