从日食的android推出不是没有错误信息正常工作 [英] android launch from eclipse not working properly without error message

查看:149
本文介绍了从日食的android推出不是没有错误信息正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

而我发展我对我的感觉HTC的Andr​​oid应用程序,我不能直接从Eclipse中运行的应用程序。这个问题只发生在我使用ICS的手机,这几乎是一个漫无,应用程序有时会启动,而无需实际重新安装,它会刚开始老版我的应用程序;其他时候,它会很好地工作了一段时间它停止在启动应用程序之前...

while i'm developing my android app on my HTC sensation, i can't run the app directly from eclipse. this problem only occurs when i'm using ICS phones and it's almost a hit or miss, the app would start sometimes without actually reinstalling, it would just start the old version of my app; other times it would work perfectly for a while before it stops starting the app...

控制台显示这一切(工作,不工作,更新不及时等)

the console shows this for everything(working , not working, not updating etc)

[2012-03-21 21:08:57 - ActionBarSherlock] /Users/tom91136/Downloads/android-sdk-mac_x86/platform-tools/aapt crunch -v -S /Users/tom91136/Dropbox/workspace_sora_client/ActionBarSherlock/res -C /Users/tom91136/Dropbox/workspace_sora_client/ActionBarSherlock/bin/res 
[2012-03-21 21:08:57 - ActionBarSherlock] Crunching PNG Files in source dir: /Users/tom91136/Dropbox/workspace_sora_client/ActionBarSherlock/res
[2012-03-21 21:08:57 - ActionBarSherlock] To destination dir: /Users/tom91136/Dropbox/workspace_sora_client/ActionBarSherlock/bin/res
[2012-03-21 21:08:57 - ActionBarSherlock] Crunched 0 PNG files to update cache
[2012-03-21 21:08:57 - YUKI] Starting full Post Compiler.
[2012-03-21 21:08:57 - YUKI] ------------------------------
[2012-03-21 21:08:57 - YUKI] Android Launch!
[2012-03-21 21:08:57 - YUKI] adb is running normally.
[2012-03-21 21:08:57 - YUKI] Performing com.sora.cbir.yuki.image.leaf.Init activity launch
[2012-03-21 21:08:58 - YUKI] Uploading YUKI.apk onto device 'HT174V803256'
[2012-03-21 21:09:00 - YUKI] Installing YUKI.apk...
[2012-03-21 21:09:01 - YUKI] Success!
[2012-03-21 21:09:01 - ActionBarSherlock] Could not find ActionBarSherlock.apk!
[2012-03-21 21:09:01 - YUKI] Starting activity com.sora.cbir.yuki.image.leaf.Init on device HT174V803256

手机的全面启动将暂时解决问题,但如果我重新插拔USB连接线或只是简单地退出我的应用程序会再次发生。

a full restart of the phone would fix the problem temporarily, but then it would happen again if i re-plug the usb cable or just simply quit my app

这不会发生在任何版本的模拟器
也姜饼手机

this does not happen on emulators of any version , also gingerbread phones

如何解决此问题的任何想法?这是非常恼人的重新启动我的手机所有的时间

any ideas on how to solve this issue? it's very annoying to restart my phone all the time

PS:重新启动Eclipse不帮忙,还重启不起作用

PS: restarting eclipse doesn't help, rebooting also doesn't work

推荐答案

去你的项目通过您的项目右键单击的运行配置...然后去到目标......在这会有一个叫抹复选框用户数据。检查其是否选中。如果没有,那么启用它。这将消灭从手机上previous安装的应用程序,并在每次运行你的项目,这样你就不需要重新启动你的模拟器每次时间重新安装应用程序。

go to the run configurations of your project by right clicking on you project ...then go to target ...in that there will be a checkbox called wipe user data. check whether its checked or not. If not then enable it. This will wipe out the previous installed apps from the phone and reinstall your app each time you run you project so that you don't need to restart your emulator each time.

希望这有助于。

这篇关于从日食的android推出不是没有错误信息正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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