What an APK contains
An APK is an archive holding an app’s code, resources, a manifest listing its permissions, and a signature. The signature identifies who built it and lets Android check that updates come from the same source.
Allow installs per app, not globally
Since Android 8.0, the “Install unknown apps” permission is granted per app. You allow your browser or file manager to install packages, and nothing else. Grant it, install, then switch it off again in Settings.
Check before you install
- Download from an official or well-known source.
- Compare the file’s SHA-256 checksum with the published one.
- Check the package name matches the project’s listings. MJ PDF is
com.gitlab.mudlej.MjPdfReader. - Read the permissions on the privacy page first.
When Android says it can’t install
Common causes are an incompatible CPU (see ARM vs x86_64), an app that is too new for your Android version, or a signing-key mismatch with an installed copy.
APK files vs app bundles
Google Play distributes apps as app bundles and generates device-specific APKs on the fly, so a Play download may be smaller than a direct APK. A directly downloaded APK is a single, self-contained package. Some projects publish several APKs, one per CPU type, which is why architecture matters.
Common mistakes to avoid
- Leaving “Install unknown apps” switched on for your browser forever.
- Downloading from a mirror site you don’t recognize instead of the project’s own page.
- Ignoring a checksum mismatch because the file “looks fine”.
- Installing over an existing copy from a different source and then wondering why the update fails.
Key points
- Grant “Install unknown apps” only to the app doing the install, then revoke it.
- Verify the checksum and package name.
- Prefer F-Droid or IzzyOnDroid if you are unsure about your CPU.