Android 反应本机调试器抛出';访问控制允许原点';错误
我的应用程序在emulator上加载得非常好,所有请求都通过了,但打开远程调试器后,应用程序无法对服务器进行api调用 调试器显示错误Android 反应本机调试器抛出';访问控制允许原点';错误,android,ios,reactjs,debugging,react-native,Android,Ios,Reactjs,Debugging,React Native,我的应用程序在emulator上加载得非常好,所有请求都通过了,但打开远程调试器后,应用程序无法对服务器进行api调用 调试器显示错误 Failed to load https://mydatapoint/api: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8081' is therefore not allowed access.
Failed to load https://mydatapoint/api: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8081' is therefore not allowed access.
不确定问题的原因。是否有帮助或线索?能否显示请求标题?