Android plugged into car gives annoying popup "The connected device is unable to access data on this device."
I have been dealing with this all year and finally figured out a solution! Here's the steps:

On your phone, go to settings.
Scroll down to and click on &quot;about phone&quot;
Click on &quot;Software information&quot;
Find &quot;Build number&quot;, and click on it until you get a message that says that you're a developer. I think it's 10 times.
Go back
Go back
Scroll to the bottom and you should now see &quot;developer options&quot;
Scroll down and click on &quot;default usb configuration&quot;
Select &quot;charging phone only&quot;
Go back
DONE!