Android 7 can't find the

I’m using appium 1.6 for Android 7.1.1 and I’m having trouble finding and using the When I execute the same test on Android 6 or lower it has no problems finding this className. Does anybody have an idea to fix this?

I have similar issue where appium fails to recognise the recyclerView. on previous versions of android it works perfectly.