Use case
On Android, I have a DPM application where the application cannot be uninstalled. It can only be updated.
I am trying to write integration tests to run on a physical device. However, the flutter test command will try to uninstall the DPM app.
I get the error
db uninstall failed: ProcessException: Process exited abnormally with exit code 1:
Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER]
Command: /home/name/Android/Sdk/platform-tools/adb -s 9d3dd4405f4f260c uninstall com.org.example
Please provide a way around this.
Proposal
Ideally, I want a command in flutter test which will skip the uninstallation step.
Use case
On Android, I have a DPM application where the application cannot be uninstalled. It can only be updated.
I am trying to write integration tests to run on a physical device. However, the
flutter testcommand will try to uninstall the DPM app.I get the error
db uninstall failed: ProcessException: Process exited abnormally with exit code 1: Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER] Command: /home/name/Android/Sdk/platform-tools/adb -s 9d3dd4405f4f260c uninstall com.org.examplePlease provide a way around this.
Proposal
Ideally, I want a command in
flutter testwhich will skip the uninstallation step.