Cannot run program "su"
时间: 2023-11-17 09:08:40 浏览: 68
As an AI language model, I don't have access to your device's details or permissions to perform actions on it. However, I can provide you with some general troubleshooting steps to resolve the "Cannot run program 'su'" error:
1. Check if your device is rooted: The "su" command is used to gain root access on Android devices. If your device is not rooted, then you won't be able to use this command.
2. Check if Superuser/SuperSU is installed: You need to have a superuser app installed on your device to use the "su" command. Check if you have Superuser or SuperSU installed and if they are functioning properly.
3. Check if the app has root access: Some apps require root access to function properly. In such cases, you need to grant root access to the app. Go to Settings > Apps > [App Name] > Permissions and check if the app has been granted root access.
4. Check if SELinux is enforcing: SELinux is a security feature that is enabled by default on most Android devices. If it is enforcing, then it may prevent the "su" command from working. You can disable SELinux by using a root file manager app or by modifying the build.prop file.
5. Reinstall the Superuser/SuperSU app: If none of the above methods work, try uninstalling and reinstalling the Superuser/SuperSU app. This may resolve any issues with the app's installation or configuration.