I got an exception
java.lang.RuntimeException: Unable to start service ... java.lang.SecurityException: Requires ACCESS_MOCK_LOCATION secure setting
The permission needs to be outside the <application> element.
<application>
Also, you will need to enable Mock Locations from Settings -> Applications -> Development (Nexus S, may vary on other devices).
Reference