安卓:SyncException:目录非空? [英] Android : SyncException: Directory not empty?

查看:159
本文介绍了安卓:SyncException:目录非空?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个模拟器,它的快照是enabled.My应用程序没有错误,但有时当我想测试我的应用程序上该仿真器,安装失败,我看到这些在控制台

I have an emulator that it's snapshot is enabled.My App has no error,but some times when I want to test my App on that emulator,installation failed and I see these in console:

安卓com.android.ddmlib.SyncException:目录不是空的。

android com.android.ddmlib.SyncException: Directory not empty

我尝试清洁/建造项目,重新开放的仿真器,重新启动Eclipse,甚至重新启动我的PC.But他们似乎解决不了这个problem.Do你知道是什么原因导致这个问题,我该怎么解决呢?

I try clean/build project,re open emulator,restart eclipse and even restart my PC.But it seems they can not solve this problem.Do you know what causes this problem and how I can solve it?

推荐答案

我重新启动仿真器从快照然后卸载我的应用程序从它,然后再试一次并没有什么问题occurs.I不知道造成了这一问题,但似乎以这种方式来解决。

I restart emulator from snapshot then uninstall my App from it and try again and no problem occurs.I don't know caused this problem,but it seems to be solved in this manner.

这篇关于安卓:SyncException:目录非空?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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