---
title: "AndroidStudio 没法Debug"
author: "fredlong"
date: "2017-12-25T16:02:45Z"
tags: []
categories: ["移动开发"]
slug: "androidstudio-debug"
draft: false
lastmod: "2017-12-25T16:02:45Z"
id: 2405664
url: "https://fredlong.iteye.com/blog/2405664"
---

AndroidStudio 没法Debug，一直停留在等待页面，然后超时，系统报以下错误：

 

Unable to open debugger port (localhost:8617): java.net.ConnectException “连接超时”

 

后来发现host中没有127.0.0.1 localhost，加上就搞定了