android studio 3.0 device file explorer "open with"

Issue

I open a file once and choose a wrong “open with” option.
How can I get it to ask me again or use another option?
I tried “right click” with no success.
Thank!

Solution

Changing file association in android studio project explorer:

Go to Settings >> Editor >> File types

Settings >> Editor >> File Types

Switch between recognized file types to find your file extension (example: *.txt) or you can directly type it to find results quickly then remove it (red minus sign in the right). Now try to open that file again it should open “open with..” dialog for you again.


Edit: after I reviewed your tag, I realized you wanted to open a file from android device explorer. It’s almost the same process:

Go to Menu >> Windows >> Preferences >> General >> Editor >> File associations

Android device explorer file association

Answered By – Omar Mneimneh

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published