An APK (Android Package) is the file format Android uses to install apps. Google Play installs APKs for you in the background, but when you download an app from a developer’s website or another source, you install the file yourself. This is called “sideloading”. This guide covers each step, the settings for different Android versions and what to do when something goes wrong.
Before You Start
A little preparation saves trouble later:
- Check the source: download APKs only from the developer’s official website or a source you trust. Files shared in chat groups are a common way malware spreads.
- Free up storage: an app needs space for the APK file plus the installed app and its data. Leave at least twice the file size free.
- Back up your phone: if you are replacing an app you already use, back up its data first.
- Keep Play Protect on: Google Play Protect scans apps you install from outside Google Play. Leave it switched on.
- Read our safety guide: if the file is a modified “MOD APK”, read Is It Safe to Download MOD APKs? first.
Step 1: Allow Installs From Unknown Sources
By default, Android blocks apps that do not come from Google Play. How you allow them depends on your Android version. Menu names vary between brands such as Samsung, Xiaomi, OPPO and vivo, so use the search bar in Settings if you cannot find an option.
Android 8.0 and newer
Newer versions give permission to individual apps, not the whole phone. You allow the app that opens the APK, usually your browser or file manager.
- Open Settings.
- Go to Apps (or Apps & notifications), then Special app access.
- Tap Install unknown apps.
- Choose the app you will use to open the APK, such as Chrome or Files.
- Switch on Allow from this source.
The easier way is to simply open the APK. Android will show a prompt with a Settings button that takes you straight to the right switch.
Android 7.1 and older
- Open Settings.
- Go to Security (on some phones, Lock screen and security).
- Turn on Unknown sources and confirm the warning.
On these older versions the setting applies to every app, so turn it off again once you have finished installing.
Step 2: Download the APK File
- Open the download page in your phone’s browser.
- Tap the download button and wait for the file to finish. Use a stable Wi-Fi connection for large files.
- If your browser warns that “this type of file can harm your device”, only continue if you trust the source.
The file is usually saved in your Downloads folder. Check that it ends in .apk. If it ends in .apks, .xapk or .apkm, it is a bundle of split files and needs a different method (see below).
Step 3: Open the File and Install
- Tap the finished download in your notification bar, or open your Files or My Files app and go to Downloads.
- Tap the APK file.
- If prompted, allow your browser or file manager to install unknown apps, then go back.
- Read the screen and tap Install.
- Wait for the “App installed” message, then tap Open.
If Play Protect shows a warning, read it carefully. A warning that an app is harmful is a strong reason to stop and delete the file.
Step 4: Check Permissions and Tidy Up
- Review permissions: the first time you open the app, it may ask for access to your camera, contacts, location or files. Allow only what makes sense for that app. A simple game has no reason to read your SMS messages.
- Turn the setting back off: go back to Install unknown apps and switch off the browser or file manager you used. You can turn it on again next time.
- Delete the APK: once the app is installed, the file in Downloads is no longer needed. Delete it to free up space.
Installing Split APKs (APKS, XAPK and APKM)
Many modern apps are published as several split files instead of one APK. These come packaged as .apks, .xapk or .apkm files, and Android’s built-in installer cannot open them directly. To install them, you need a split-APK installer app, preferably an open-source one from a trusted source. Open the bundle with that installer and it will install all the parts together. If you only have a single .apk file from a bundle, it will usually fail with an error.
Common Problems and Quick Fixes
- “App not installed”: usually caused by a conflict with an existing version, not enough storage or a damaged file. See our full guide to fix the “App not installed” error.
- “There was a problem parsing the package”: the file is incomplete, damaged or built for a newer version of Android. Download it again, or look for a version that supports your phone.
- The Install button is greyed out: close any screen overlays, such as chat bubbles, blue-light filters or screen recorders, then try again.
- “Blocked by Play Protect”: Android thinks the app may be harmful. The safest response is to cancel and delete the file.
Keeping Sideloaded Apps Up to Date
Apps you install from an APK do not update through Google Play. You need to download and install each new version yourself. Our guide on how to update an APK without losing data explains how to do it safely. If the app is available on Google Play, installing it from there is usually the simplest way to get automatic updates and security fixes.
Final Thoughts
Installing an APK takes only a minute once you know where the settings are. Allow the app you are using to install files, open the APK, tap Install and then switch the permission off again. Stick to trusted sources, keep Play Protect on and check permissions every time.