Have you downloaded the PDF, but it opens in the browser instead Adobe Acrobat? Or does the video player stubbornly ignore VLC, launching its native application? The problem of linking files to the โcorrectโ apps on Android is familiar to many. The system often decides itself which application to use by default - and this is not always convenient for the user. In this article, we will look at all the ways to manage file associations: from basic settings to advanced methods with ADB and third-party utilities.
The peculiarity of Android is that there is no single โcontrol centerโ for files, like on Windows. Instead, each data type (.mp3, .docx, .apk) is associated with applications through intents โthe internal mechanisms of the system. We will show how these mechanisms work in practice, what restrictions the manufacturer imposes (for example, Samsung or Xiaomi), and what to do if standard methods do not work. Let us separately dwell on the nuances for the new versions of Android 13/14, where Google has tightened security rules.
Why Android does not open files correctly
Before fixing the problem, it is important to understand its causes. Most often, files are opened by the โwrongโ application due to:
- ๐ Automatically link when you first open. Android remembers your choice and applies it to all files of that type. For example, if you once opened
.txtin Google Docs, the system will offer it in the future. - ๐ฆ Conflicts between applications. Several apps (for example, Gallery and QuickPic) may pretend to open images, which leads to chaos in the settings.
- ๐ Manufacturer restrictions. Branded shells (One UI, MIUI, ColorOS) sometimes block changing associations for "system" files (for example,
.apk). - ๐ ๏ธ Failures after updates. After major Android updates (for example, from 12 to 13), some settings are reset to default.
Interesting fact: in Android 10 Google introduced the concept "file domains" (file domainsthat determine which application can work with a particular type of data. For example, music files in a folder Download can be opened by one player, and in a folder Music by another. This complicates the setup, but gives more flexibility.
โ ๏ธ Attention: On devices with Android 14+ some methods (for example, resetting associations throughADB) may require additional permissions or may not work at all due to policy. Scoped Storage. Before experiments, check the OS version inSettings โ About phone.
Method 1: Changing the default application through Android settings
The simplest method is to use the built-in tools of the system. It works on all versions of Android, but the interface may differ slightly depending on the shell.
Instructions for pure Android (Pixel, Motorola, Nokia):
- Open
Settings โ Applications. - Tap on the three dots in the upper right corner and select
Default applications. - Find the section
Opening supported linksorSetting default applications. - Select file type (for example,
PDF files) and specify the desired application.
For Samsung One UI:
- Go to
Settings โ Applications. - Select
Default selection. - Click on
Setting default applications. - Find a category (for example,
Audio) and select the player.
On Xiaomi MIUI the path will be like this: Settings โ Applications โ Manage applications โ Default.
Make sure the desired application is installed
Check the Android version in the settings
Close all open files before changing
Reboot the device after changes (optional)
-->
โ ๏ธ Attention: On some devices (for example, Huawei s EMUI) the default settings section may be hidden. In this case, try using "Open with" menu long press on the file.
Method 2: "Open with" context menu
If you want to change the association for specific file, and not for the entire type, use the context menu. This method works even where the standard settings are blocked.
How to do it:
- Find the file in any file manager (Files by Google, Solid Explorer etc.).
- Make long press on the file and select
Open with(orOpen in..). - In the window that appears, select the desired application.
- Tick the
Always(orUse by default) box if you want to secure the selection.
This method is convenient for one-time actions, but has a limitation: if you select Always, then later you can change the setting only through Settings โ Applications (as in Method 1).
What to do if the required application is not in the "Open with" menu?
If the application is not displayed in the list, this means that it is not registered in the system as a handler of this type of file. Solutions:
1. Update the application to the latest version (sometimes developers add support for new ones. formats).
2. Check the settings of the application itself - some apps (for example, VLC) allow you to manually specify supported formats.
3. Use an alternative file manager (for example, FX File Explorer), which ignores system restrictions.
Example: if you want to open .mkv in MX Player, but it is not in the list, check whether the player supports this format. To do this, open MX Player, go to Settings โ Decoder and enable the option Software for MKV.
Method 3: Reset all file associations
If the system has โforgotโ your previous selections or behaves unpredictably, a complete reset of associations will help. This will return all files to the "first open" state, where Android will again ask which application to use.
Instructions:
- Open
Settings โ Applications. - Click on the three dots in the top corner and select
Reset application settings(orReset preferences). - Confirm the action. This will not delete data applicationsbut will only reset the settings to default.
After resetting, the next time you open any file, the system will show a dialog box with app selection. This method has two disadvantages:
- โ Associations are reset, not just problematic ones. all associations, not just problematic ones.
- โ On some devices (for example, Oppo s ColorOS), this option may not be available.
| Manufacturer | Name of reset option | Notes |
|---|---|---|
| Google (Pixel) | Reset application preferences | Available in the Applications menu |
| Samsung | Reset application preferences | Located in Settings โ General โ Reset |
| Xiaomi | Reset settings to default | May require password confirmation |
| Huawei | Reset application settings | Sometimes hidden in Advanced settings |
If resetting did not help, try clearing the cache and application data Google Play ServicesTo do this, go to Settings โ Applications โ Google Play Services โ Memory โ Clear cache/data. This often solves problems with โstuckโ associations.
Method 4: Using ADB to force a reset
For advanced users who did not work previous methods, there is a way using Android Debug Bridge (ADB). It allows you to manually reset associations for specific file types or applications.
What you will need:
- ๐ฅ๏ธ A computer with ADB tools installed.
- ๐ฑ Enabled USB debugging on the phone (
Settings โ About phone โ Build numberโ tap 7 times, then return toSettings โ System โ For developers โ USB debugging). - ๐ USB cable for connection.
Reset commands:
# Reset all associations for a specific application (replace com.example.app with your application package)adb shell cmd appops set com.example.app SYSTEM_ALERT_WINDOW deny
Reset associations for a file type (for example, PDF)
adb shell cmd role remove-holder android.app.role.QUERY_ALL_PACKAGES
adb shell cmd role clear-defaults
Full resetting all associations (carefully!)
adb shell cmd appops set --uid android default reset
After executing the commands, reboot the device. In some cases, you may need to re-link the files through the "Open with" menu.
โ ๏ธ Attention: Incorrect use of ADB can lead to system failures. If you are not sure about the commands, make a backup copy of your data before experimenting. data-i="203">Some ADB commands may require additional permissions ( Android 13+ Some ADB commands may require additional permissions (adb root), which are not available on non-flashed devices.
Method 5: Third-party applications for managing associations
If standard methods do not work, help specialized utilities will come. They offer more flexible settings and often bypass manufacturer restrictions.
Top 3 applications for file management:
- ๐ Default App Manager (free, without unnecessary fluff) - shows all associations in one place, allows you to reset them selectively. Supports Android 12-14.
- ๐ง App Manager (from Muntashir Al Islam) - open source, advanced settings for each file type, including
MIME-types. - ๐ ๏ธ SetEdit (requires root) - for deep customization of system parameters, including hidden associations.
Example of working with Default App Manager:
- Install the application from Google Play.
- Open it and grant access to settings (permission may be required
android.permission.WRITE_SECURE_SETTINGS). - Select a tab
File Associations. - Find the desired file type (for example
audio/mpegfor MP3) and reset the current linking. - The next time you open the file, the system will again ask which application to use.
The advantage of third-party utilities is that they show all possible associationsincluding those that are hidden in the standard settings. For example, you can see that .nomedia files are linked. to Gallery, or that .apk open through Package Installer.
Third-party applications are especially useful on devices with aggressive proprietary shells (for example, MIUI or Flyme), where the manufacturer blocks changes to some associations.
Solving problems with specific file types
Some file formats require a special approach.
1. APK files
Android blocks changing the handler for .apk for security reasons. If you want to open them not through the standard Package Installer, but, for example, through SAI (Split APK Installer):
- Install SAI from Google Play.
- When opening the APK, select
Open with โ SAI. - If option
Alwaysis inactive, use ADB (see Method 4) or a third-party application to reset associations.
2. ZIP/RAR archives
Problem: archives open in Google files instead of RAR or ZArchiver.
Solution: in the settings Google Files disable the option Open archives by default (Settings โ Opening files).
3. Image files (JPG, PNG)
I Samsung and Huawei images open in the proprietary gallery by default. To change this:
- Install an alternative gallery (for example, Simple Gallery).
- In the standard gallery settings, disable the option
Open media files by default. - Use the menu
Open withfor a specific file.
| File type | Typical problem | Solution |
|---|---|---|
| Opens in browser | Install Adobe Acrobat and select it in the "Open with" menu | |
| MKV/MP4 | Plays with artifacts | Use VLC or MX Player with enabled Codec software |
| DOCX/XLSX | Opens in Google Docs instead of Microsoft Office | Reset associations via Settings โ Applications |
| APK | You cannot change the handler | Use ADB or SAI with manual selection each time you open |
FAQ: Frequently asked questions about linking files
Is it possible to associate one file type with multiple applications?
No, Android allows you to select only one "default" application for each file type. However, you can manually select a app each time you open it through the menu Open withwithout checking the box Always.
Why do files open again in the old application after resetting the settings?
This occurs due to the system cache. Try:
- Clear the cache of an application that "sticks" to files (in
Settings โ Applications โ [application] โ Memory โ Clear cache). - Restart the device.
- Use ADB to force a reset (see Method 4).
How to bind a file to an application if it is not in the "Open with" list?
This means that the application is not registered in the system as a handler of this file type Solutions:
- Update the application to the latest version.
- Check the settings of the application itself - sometimes you need to manually enable format support.
- Use a file manager that ignores system restrictions (for example, FX File Explorer).
- For advanced users: edit
AndroidManifest.xmlapplications (requires APK decompilation).
Do these methods work on Android 14?
Most methods work, but with reservations:
- Standard settings โno changes.
- ADB โ some commands require additional permissions (
adb rootmay not work on non-flashed devices). - Third-party utilities โ may require more permissions due to stricter privacy policies.
On Android 14 Google introduced the concept "partial associations" (partial file associations), when one type of file can be opened in different applications depending on context (for example, .jpg from the gallery opens in Photos, and from downloads - in QuickPic).
Is it possible to link files to an application without root access?
Yes, all the described methods (except SetEdit) work without root. For most tasks, there are enough:
- Standard settings. Android.
- Menu
Open with. - ADB (does not require root, but requires USB debugging).
- Third-party utilities like Default App Manager.
Root may only be needed for deep editing of system files (for example, /data/system/package.xmlwhere the associations are stored).