到设备'模拟器-5554“安装myapp.apk失败 [英] Failed to install myapp.apk on device 'emulator-5554'

查看:223
本文介绍了到设备'模拟器-5554“安装myapp.apk失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行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.

这篇关于到设备'模拟器-5554“安装myapp.apk失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆