It looks like your adb is running as root, but you only have the su tool. You can use adb to replace it of your choice.
Either this, or you have it configured, and it was not configured so that this user ID of the application you are working with is in this case you need to open its configuration tool and change it.
Pay attention . This is the old answer to the old question - it was several versions of Android, since regular su no longer possible on regular Android versions for end users due to the adoption of SELinux. Workarounds far from exhaust this issue.
source share