Why won't 'usb debugging' mode stay on?
I had a similar issue with Huawei P Smart (today on Android Oreo).  Revoking USB debug permissions enabling USB debugging and then re-attaching it with 'transfer files' option, followed by accepting the PC certificate fingerprint appeared to work - at least for the time being.