APK考虑年龄的亚行安装/上传年龄、上传、APK

由网友(落雁.)分享简介:我从来没有任何问题,在我的设备(银河SPlus和Nexus 10)上传我的应用程序,但由于未知原因,现在上传的APK在我的Nexus 10岁起飞...... 20次我试过了,我走到了尽头一次。I never had any problem uploading my applications on my devices...

我从来没有任何问题,在我的设备(银河SPlus和Nexus 10)上传我的应用程序,但由于未知原因,现在上传的APK在我的Nexus 10岁起飞...... 20次我试过了,我走到了尽头一次。

I never had any problem uploading my applications on my devices (Galaxy SPlus and Nexus 10) but for an unknown reason, now uploading an APK on my Nexus 10 take ages... on 20 times I tried, I reached the end only one time.

有没有人知道我可以调试/详细APK上传知道在此速度一回事呢?我不知道什么是APK上传的方式,能有人给我去哪里找一个暗示?我要调查,但我不知道该怎么办?

Did anyone know how I can debug/verbose APK uploading to know at which speed it goes ? I don't know what is the way the APK is uploaded, can someone give me a hint of where to look for ? I want to investigate but I don't know what to do ?

该设备已正确响应亚行的命令,我可以看到它的Eclipse下,我可以下载/上传文件DDMS文件浏览器,一切都运行/调试我的应用程序时的工作像往常一样,但是,Eclipse的陷的上载我-application.apk到设备R32D1035MCE'。

The device is correctly responding to adb commands, I can see it under Eclipse, I can download/upload files with DDMS file explorer, everything is working as usual, but when running/debugging my application, Eclipse get stuck on "Uploading my-application.apk onto device 'R32D1035MCE'".

能否请你帮忙吗?

编辑:

我已经reseted我的设备出厂默认情况下,它确实没有帮助。

I have reseted my device to factory default, it does no help.

与ADB_TRACE另外,我已经启用的痕迹=在我的环境设置,并跟踪显示,亚行正在等待着什么,但我不知道。

Also, I have enabled traces with ADB_TRACE=all in my environment settings, and the trace show that adb is waiting for something, but I have no clue.

编辑:

仍然在调查,我的Nexus 10是工作了一遍,然后突然就停止工作。在DDMS的日志,我有以下错误信息:

Still investigating, my Nexus 10 was working again, and then suddenly it stopped working. In the DDMS log, I have the following error message :

[2013-06-23 01:09:30 - ddmlib] An established connection was aborted by the software in your host machine
java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89)
    at sun.nio.ch.IOUtil.write(IOUtil.java:60)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450)
    at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
    at com.android.ddmlib.Client.sendAndConsume(Client.java:607)
    at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348)
    at com.android.ddmlib.Client.requestAllocationStatus(Client.java:453)
    at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:835)
    at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:803)
    at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:621)
    at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44)
    at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:580)

看起来与此相关的问题:An建立连接被你的主机的软件终止

但没有给出的解决方案是为我工作。

But none of the solutions given are working for me.

有没有一种方法可以重设网络连接亚行是干嘛用的设备?

Is there a way to reset the network connection that adb is doing with the device ?

编辑:解决已发现所建议的克里斯 - 斯特拉顿使用亚行安装-r package.apk,即强制重新安装-r命令开关的使用放开装置冻结状态

EDIT : a solution have been found as suggested by chris-stratton, using "adb install -r package.apk", usage of -r command switch that force a re-installation unblocks the device frozen state.

推荐答案

好吧,我终于找到了答案。其原因是,我使用的另一迷你USB电缆比提供与Nexus设备之一。我复制它在100%。

Ok, I finally found the answer. The reason is that I used another mini USB cable than the one provided with the Nexus device. I'm reproducing it at 100%.

在我使用的电缆从我的银河SPlus,Nexus的不希望上传的文件(即使该设备是公认的,而这一切似乎罚款)。上传永远不会结束。

When I use the cable from my Galaxy SPlus, the Nexus don't want to upload the file (even if the device is recognized, and that everything seems fine). The upload never ends.

和逆是真实的也一样,用我的Nexus 10的USB连接线设备时,我的银河SPlus,此时该设备本身无法识别。

And the inverse is true too, when using the USB cable device of my Nexus 10 with my Galaxy SPlus, this time the device itself is not recognized.

我想,在两个不同的电脑。我认为,迷你USB连接线都兼容。但不是。我没有答案是:为什么?

I tried that on two different PCs. I thought that mini USB cables were all compatible. But no. The answer I don't have is : why ?

阅读全文

相关推荐

最新文章