I tried with below example
Activity example
when i run the example and click the button to call other activity it givess me below exception
i run using real phone as well as emulator,but i got same results.when i tried with second app it works fine both emulator and device.