Android Instrumental Test Running On Emulator But Not On Real Device
I am trying to run android Instrumental Test it seem running on emulator gives test result but on real device its not working and output is 'Test running failed: No test results'
Before running tests on OnePlus you should go
Settings -> Battery -> Battery optimization -> Your app (not package.test but application) -> Don't optimize -> Done
This will disable background restrictions and tests will work fine.
Post a Comment for "Android Instrumental Test Running On Emulator But Not On Real Device"