I need to test my app in Galaxy S4. But I have no real device so I want to test my app in emulator. What will be the configuration needed to do this in emulator?

See this and you can increase the RAM size if your Machine can handle that.
You should choose "Use Host GPU" option in Emulator options.
I'm on mac the GPU makes it start but is very slow and the App icons come all compressed the messages boxes are reversed(as you'd see on a mirror).
Sansung has an on-line RemoteTestLab, that does not work either only once it popped but then it blew and never fires again.
来源:https://stackoverflow.com/questions/16646398/how-to-test-android-app-in-galaxy-s4-configuration-using-emulator