RCTPeerConnection->createAnswer() is not returning correct value on Android Emulator

createAnswer() is working correctly on real devices.
but on the emulator, return invalid values, so I am getting invalidArgumentException error.
How can I get the valid values on android emulator?