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

**URL:** <https://react-native-webrtc.discourse.group/t/rctpeerconnection-createanswer-is-not-returning-correct-value-on-android-emulator/2111>\
**Category:** General040642add70aa006ef56b5af5b5acae3\
**Created:** [January 28, 2025, 10:32pm UTC](https://react-native-webrtc.discourse.group/t/rctpeerconnection-createanswer-is-not-returning-correct-value-on-android-emulator/2111 "2025-01-28T22:32:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![orion152](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/orion152/32/871_2.png) [@orion152](https://react-native-webrtc.discourse.group/u/orion152)\
**Post date:** [January 28, 2025, 10:32pm UTC](https://react-native-webrtc.discourse.group/t/rctpeerconnection-createanswer-is-not-returning-correct-value-on-android-emulator/2111/1 "2025-01-28T22:32:37Z")

</div>

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?
