IOException everytime I try to upload anything to android emulator

后端 未结 6 1373
暗喜
暗喜 2021-02-10 04:40

I\'m using Windows 7 Ultimate 64 bit edition and Eclipse 3.5 with the Android plugin. Every time I create a new project and try to publish it, I get an error like this:

相关标签:
6条回答
  • 2021-02-10 04:40

    Not sure if this helps but I had the same exception when I tried uploading a project to the device and fixed it by increasing the value of "adb connection time out (ms)"

    PC: (eclipse -> window -> settings -> android -> ddms) MAC: (eclipse -> preferences -> android -> ddms)

    I was pretty pissed at myself that it took me so long to find the setting so I thought I'd share.

    0 讨论(0)
  • 2021-02-10 04:44

    I just ran into this error. To resolve it, I deleted my .apk file and built the project again. Voila! Upload works now.

    0 讨论(0)
  • 2021-02-10 04:50

    I got this error about every 30-40 compilations. I don't how, but this solution work for me.

    Go to bin/ folder and rename your EPG3-debug.apk file to EPG3.apk (if you are using debug mode) or EPG3-release.apk to EPG3.apk (in Run mode), return to Eclipse, now you can Debug/Run your application. This should "unchoke" this whole situation, so you can make changes in your code and next time Debug/Run program normally (until you get this error once again, then you must repeat this tip).

    0 讨论(0)
  • 2021-02-10 04:57

    Did you try to add the path of the tools directory to your system PATH as described here ?

    0 讨论(0)
  • 2021-02-10 05:02

    See this question — Windows 7 and Android don't seem to get on so well initially it seems: Failed to parse the output of 'adb version'?

    Are you able to telnet to localhost 5037? That's where the adb server listens for incoming connections from adb clients.

    0 讨论(0)
  • 2021-02-10 05:03

    Isnt this a problem with resources loading? Tried all the hello examples without problems, now the first with drawables and now I/O problem as you had.

    I think its the reason that in the example they speak of a drawable folder, but in my default project structur there are 3 drawable folders.

    Keep on debugging ;)

    0 讨论(0)
提交回复
热议问题