Get the exact status with ADB
If the phone gives only a generic message, Android SDK Platform-Tools can show the package installer status. The install command attempts an installation. Use a trusted file on a test device you control and choose the intended device if more than one is connected.
adb devices
adb install app.apk
Recognize common PackageManager failures
Install a matching split APK set
Other things to check
Permission to install unknown apps applies to the source app on modern Android; the installer may also be stopped by Play Protect, an OEM safeguard or an organization policy. Check the prompt, Settings and the administrator’s rules before retrying. Never assume a valid signature makes an app safe.
If the app remains blocked, record the exact message, Android version, device model, package and source, and ask the publisher. Leave private data and signing keys out of the report.