Codenameone:无法从模拟器调用服务
Codenameone: Unable to call service from simulator
当我在模拟器上从我的应用程序调用服务时,出现以下错误。
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)上得到支持,我不想为所有平台单独编写本机代码。
link内警告:https://www.codenameone.com/blog/ios-http-urls.html
明确说明 Apple 希望您在所有通信中使用 https 而不是 http。这意味着您需要为您的服务访问设置一个 https 服务器。
当我在模拟器上从我的应用程序调用服务时,出现以下错误。
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)上得到支持,我不想为所有平台单独编写本机代码。
link内警告:https://www.codenameone.com/blog/ios-http-urls.html
明确说明 Apple 希望您在所有通信中使用 https 而不是 http。这意味着您需要为您的服务访问设置一个 https 服务器。