无法对设备安装* .apk文件'*':本地路径不存在不存在、设备安装、路径、文件

2023-09-04 10:59:04 作者:年轻气盛与天争,

我想在我的手机上运行我的应用程序时,recieving下面的错误。它用于工作,但现在决定总是给我这个错误,我无法弄清楚如何得到它的工作了。

I'm recieving the following error when trying to run my app on my phone. It used to work, but it has now decided to always give me this error and I can't figure out how to get it working again.

Failed to install *.apk on device '*': Local path doesn't exist. 
com.android.ddmlib.SyncException: Local path doesn't exist. 

Launch canceled!

我试着重新启动计算机,手机和调试模式,其中没有工作过。

I've tried restarting the computer, the phone, and the debug mode, none of which have worked.

编辑:我得到这个错误无论我的手机上,并在模拟器上

I get this error both on my phone and on the emulator!

推荐答案

好吧,我想通了。我搬到了apk文件到不同的目录(试图解决不同的问题)和Eclipse太傻弄明白。至于说在注释如下─修复与项目 - 问题>清洁...

Ok I figured it out. I had moved the apk file to a different directory (trying to fix a different problem) and eclipse was too stupid to figure it out. As said in the comment below- fix the problem with Project->Clean...