MJ PDF
Install & security

What Is an APK and How to Install One Safely

An APK is the package format Android apps are installed from. Stores hide it from you; a direct download does not. Installing an APK is routine, but a few habits keep it safe.

MJ PDF website2 min read6 sections

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

  1. Download from an official or well-known source.
  2. Compare the file’s SHA-256 checksum with the published one.
  3. Check the package name matches the project’s listings. MJ PDF is com.gitlab.mudlej.MjPdfReader.
  4. 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.

Get MJ PDF 3.1.0

Free, open source and ad-free. Install it from F-Droid or IzzyOnDroid, or read the source on GitLab.