Android: How to detect a rooting in Android App [closed]

This has been answered before, but here it goes:

I had this issue some time ago, and there does not seem to be one failsafe method to do this. For most scenarios however, you could check several characteristics that might point to a device being rooted, but again, this is not guaranteed to work every time.

Check out this previous answer regarding the issue, and remember; do not just copy and paste. Build an understanding of the code, so that you may learn something in the process.

Next time, try to do some more research before asking questions, Stack Overflow is filled to the brim with great questions and answers. Good luck with your app!

Leave a Comment