代理出现的奇奇怪怪的问题

公司上网需要代理,然后我就在mac 的网络设置里面加了代理,但是android  studio还是不可以,
你要下载gradle的一些东西,你需要在gradle.properites里面加上代理,
你要update svn git,你需要在preference里面 设置 http proxy


genymotion 出现的问题,还是在公司 我虚拟机需要设置代理才能上网,然后回到家,我去掉了电脑和androidstudio的代理,但是忘记去掉虚拟机的了,结果就是 我build app,发现找不到device,后来去掉虚拟机的代理才找到

上面连不上adb 不是主要原因,原因是  geymention adb  和 android studio 的冲突了。如果你先启动 geymention  然后在build apk就 又可能出现这个问题。

解决方法(这个是我实验过的  可行)
1先停止相关的模拟器,比如genymotion emulator之后重新开启adb:

(Tools > Android > Unchecked Unable ADB Integration 之后再重新勾选即可)

2.最后再打开相关的模拟器或者真机调试即可

或者
http://stackoverflow.com/questions/26137634/ddms-adb-exe-start-server-failed-run-manually-if-necessary-android-studio

http://stackoverflow.com/questions/26137634/ddms-adb-exe-start-server-failed-run-manually-if-necessary-android-studio

猜你喜欢

转载自ycljf86.iteye.com/blog/2323437