Android restarts when I press "Turn on USB storage" button I have a tablet with android 4.2.2 installed on it.

I was able to connect this tablet to my laptop before, but recently when I press the Turn on USB storage button, android restarts!

My laptop op is Ubuntu 14.04 TLS

What is the problem and how can I fix this issue?
options for fixing USB not authorized

(On device)


Go to settings/about device, scroll to "build"


Tap on build 7 times to enable developer options
Back out to main settings screen, goto developer options
Enable USB connection





or



(On device)


Using a file manager that has root access


Remove "adb_key"


/data/misc/adb/adb_key


Reboot your phone and try connect again.
The confirmation message should popup after a short time.





or



(On PC)


Remove the "RSA keys" from SDK settings

~/.android/adbkey


Start up ADB


$ adb kill-server

$ adb start-server


Plug device back into USB port (not hub) and wait.
Confirmation notice will popup after a short time period.





or




You can try this. The steps are more involved, requires device and vendor IDs


this has been included because it is helpful and a reference
steps haven't been included in the answer because it is off topic






in step 3 (~) is the location of your SDK installation
make sure you have the latest adb executable installed
make sure you have the latest drivers for your device
make a backup before performing any of the above steps