Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Codenameone:无法从模拟器调用服务_Codenameone - Fatal编程技术网

Codenameone:无法从模拟器调用服务

Codenameone:无法从模拟器调用服务,codenameone,Codenameone,当我在模拟器上从我的应用程序调用服务时,我得到以下错误 WARNING: Apple will no longer accept http URL connections from applications you tried to connect to http://localhost:8080/myapp/Login to learn more check out https://www.codenameone.com/blog/ios-http-urls.html Rendering fr

当我在模拟器上从我的应用程序调用服务时,我得到以下错误

WARNING: Apple will no longer accept http URL connections from applications you tried to connect to http://localhost:8080/myapp/Login to learn more check out https://www.codenameone.com/blog/ios-http-urls.html
Rendering frame took too long 1804 milliseconds

你能告诉我怎么解决吗?我的应用程序需要在所有平台(Andriod、IOS、Windows)上得到支持,我不想为所有平台分别编写本机代码。

警告中的链接:

清楚地解释了苹果希望您在所有通信中使用https而不是http。这意味着您需要为您的服务访问设置https服务器