Android Studio应用中的内部连接器错误(1002),已连接到RESTlet网络服务

时间:2019-01-04 12:39:08

标签: android eclipse android-studio restlet

我在Eclipse中设置了RESTlet Web服务。我可以通过几种方式连接到它,所以我知道那部分是正确的。但是我无法从我的Android应用连接到它。 我无法从我的Android应用程序连接到任何Web服务或网站,所以问题就出在这里。

我使用了适用于Chrome的RESTlet客户端扩展(https://restlet.com/modules/client/)来测试与Web服务的连接,并且我的数据没问题。

这是我在Android Studio中使用的代码: (我在这里使用了另一个URL进行测试,这应该可以,但是无效)

Internal Connector Error (1002) - The connector encountered an unexpected condition which prevented it from fulfilling the request

但是出现以下错误:

{{1}}

为什么不起作用?

0 个答案:

没有答案
相关问题