8

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!

2 Answers 2

12

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

2
  • 2
    do you know how to do that in Andoid studio 3.1.4 i do not have a menue Menu >> Windows >> Preferences >> General >> Editor >> File associations but i still want to open sqlite db with sqlite browser in linux
    – Tito
    Aug 21, 2018 at 9:56
  • Sorry for the late reply, I saw the comment and wanted to check it out but I forgot! I hope you already figured it out but just in case someone else needed to see this the preferences after the update are located in the File menu at the top then go to Editor >> File Types. May 16, 2020 at 7:02
0

in android studio dolphin you must open the file in android studio, click the file name tab on top (same place where you see your class's names) then select associate with file type as you can see on image below:

print

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.