Hi. I want to delete a folder in /data/data

Whenever we install an apk on the device, a folder by the package name is
created at /data/data
eg. If I have an apk having a package name com.android.tute, the folder
created will be /data/data/com.android.tute

This folder contains lib, cache, databases, files

All can be deleted by the code. However I am unable to delete  the lib
folder. It gives the error "unable to unlink lib folder".
Is there a method by which we can delete this folder from the code.
Please note that I am able to delete this folder from adb shell by using the
rm command...

Thanks & Regards..

You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at

To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to