How to clear cache on Eclipse Android Emulator
i was wondering if there is a fast way to clear cache on a running Eclipse Android Emulator, apart from shutting it down and starting it after.
For the time being, ca开发者_开发知识库ching proved to be a major drawback for me, since am new to Android and it eventually lead me to wrong conclussions about my code...
Thank you.
You can clear cache / data per application from settings (Applications -> manage applications). You can also uninstall your application from there which will cause everything to be cleared. This of course only clears data that your application is creating.
Through the AVD manager when you 'start' a virtual device, check 'clear user data' before you click the launch button. This will clear the cache and reset the emulator back to its original state.
精彩评论