Android HTTP post请求上的IOException

Android HTTP post请求上的IOException,android,accountmanager,Android,Accountmanager,我正在使用帐户管理器帐户管理器和Web服务的HTTP任务创建登录表单。当我输入用户名和密码时,它会给我IOException,我已经添加了INTERNET权限和所有与帐户相关的权限。如果有人知道任何使用帐户管理器和Web服务的github示例,请共享url。请提供帮助。这是代码 ` 您是否使用断点进行了调试?这样您就可以知道在哪一行获得异常,它在Log.eeExceptionsSSSS;处给出异常+您能提供任何链接到使用帐户管理器和Web服务登录的示例吗 public void userSig

我正在使用帐户管理器帐户管理器和Web服务的HTTP任务创建登录表单。当我输入用户名和密码时,它会给我IOException,我已经添加了INTERNET权限和所有与帐户相关的权限。如果有人知道任何使用帐户管理器和Web服务的github示例,请共享url。请提供帮助。这是代码 `


您是否使用断点进行了调试?这样您就可以知道在哪一行获得异常,它在Log.eeExceptionsSSSS;处给出异常+您能提供任何链接到使用帐户管理器和Web服务登录的示例吗
 public void userSignUp(String name, String email, String pass, String authType, final SignUPHandler handler) {

        HttpPost localHttpPost = new HttpPost(ApiURL.USERSIGNIN);

        JSONObject json_user = new JSONObject();

        try {
            json_user.put("email", email);
            json_user.put("password", pass);

            StringEntity se = new StringEntity(json_user.toString());
            localHttpPost.setEntity(se);
            if ((this.currentTask != null) && (this.currentTask.getStatus() != AsyncTask.Status.FINISHED))
                this.currentTask.cancel(true);

            this.currentTask = new HttpTask(ApiURL.HTTP_LOGIN_HOST, new HttpResponseHandler() {
                public void handleException(Exception paramException) {
                    Log.e("Exceptionssssssss:", "" + paramException);
                    handler.handleException(paramException);
                }

                public void handleResponse(JSONObject json)
                        throws IOException {
                    Log.d("response", "" + json);
                    handler.handleResponse(json);
                }
            });
            this.currentTask.execute(new HttpUriRequest[]{localHttpPost});
        } catch (Exception localException) {
            Log.d("Exception ID", "" + localException.getMessage());
        }
    }`