简体   繁体   English

Eclipse无法在设备上运行Android应用

[英]Eclipse won't run Android app on device

I am trying to run an android app from Eclipse on my device. 我正在尝试在设备上从Eclipse运行android应用。 It is an HTC Android Incredible. 这是HTC Android Incredible。

However, whenever I try to run it, this error pops up. 但是,每当我尝试运行它时,都会弹出此错误。

[2013-01-27 21:46:54 - PowerSourceInternational] Failed to install PowerSourceInternational.apk on      device 'HT0CDHJ08446': Read-only file system
[2013-01-27 21:46:54 - PowerSourceInternational] com.android.ddmlib.SyncException: Read-only file system
[2013-01-27 21:46:54 - PowerSourceInternational] Launch canceled!

How can I solve this? 我该如何解决? Thanks in advance. 提前致谢。

One possible cause is needing to turn on the ability to install apps via Unknown sources ; 一种可能的原因是需要打开通过未知来源安装应用程序的功能; Settings -> Application -> Unknown sources . Settings -> Application -> Unknown sources

Go to place where adb is placed and try this 转到放置adb的地方,然后试试看

adb shell sysrw 亚行外壳系统

adb push your_app 亚行推送your_app

adb shell sync 亚行外壳同步

adb shell sysro 亚行外壳系统

通过调用adb kill-server来解决此问题,然后重新启动设备,然后以常规方式从开发环境(在我的情况下为Eclipse)运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM