Do we need rooted build for recording/playback recorded test cases

I am facing issues after recording scenarios in apps like uber,contacts etc while run on local device error throws unable to uninstall/install apps

So my question is do we need rooted build for proper running test cases on local devices

Need inputs