到设备'模拟器-5554“安装myapp.apk失败模拟器、设备、apk、myapp

由网友(不疯不颠不青春)分享简介:我试图运行Android应用程序,但它抛出这三条线为红色。I'm trying to run an android app but it's throwing these three lines in red.[2012-07-08 20:39:23 - myapp] Failed to install myapp...

我试图运行Android应用程序,但它抛出这三条线为红色。

I'm trying to run an android app but it's throwing these three lines in red.

[2012-07-08 20:39:23 - myapp] Failed to install myapp.apk on device 'emulator-5554': An attempt was made to access a socket in a way forbidden by its access permissions
[2012-07-08 20:39:23 - myapp] java.io.IOException: An attempt was made to access a socket in a way forbidden by its access permissions
[2012-07-08 20:39:23 - myapp] Launch canceled!

我已经把工具和平板夹到环境绿化变量,也尝试一切可能的事情可以做,但没有任何变化。

I've put the tools and plateform folder into enviormental variable and also tried every possible thing which can be done but nothing change.

我已经试过手动将其安装和它说的亚行安装myapp.apk 我也得到

I've tried it installing manually and its says by "adb install myapp.apk" and I get

protocol error
rm failed for /data/local/tmp/myapp.apk, No such file or directory

编辑: 用我不能安装任何软件SDK经理余米获得

Edited: I can't install anything using SDK Manager I m getting

Fetching URL: http://developer.sonymobile.com/edk/android/repository.xml
Permission denied: recv failed
Done. Nothing was installed.

好心帮我解决这个问题。

kindly help me to resolve it

感谢

推荐答案

试着窗口 - >显示视图> devices->视图菜单 - >重置亚行并再次运行应用程序。

Try window->show view->devices->view menu->Reset adb and again run application.

阅读全文

相关推荐

最新文章