3

Google is blocking an apk (signed) file that I’m trying to attach to an email. It was working fine till the day before yesterday.

Blocked for security reasons!

But now, even the previously sent email attached with apk can't be downloaded

enter image description here

Is this an update of Gmail to block these types of files? Is anyone also having the same issue?

How can I send apk files (without changing the extension) through Gmail?

migrated from superuser.com Sep 27 '18 at 20:55

This question came from our site for computer enthusiasts and power users.

  • Upload it somewhere and send the link by email. That's how you send any file. – simlev Sep 27 '18 at 8:26
  • Yeah, I know that solution. I was looking for a way to directly attach the apk in my gmail email. – Siraj Alam Sep 27 '18 at 9:07
  • I totally understand your question. I was suggesting you always send any files by link. While emails can contain attachments, they are not optimized for file transfer. File size increases by almost 35% and every server has an often unpublished size limit. – simlev Sep 27 '18 at 9:30
1

Google is blocking the apk because it detects it as a virus even though it could be a false positive.

You can compress the file first see you can upload it, or even encrypt the apk with a password so that you can attach it to Gmail. You can use WinRAR or 7zip for that.

  • I know it is possible by changing the extension. I wanted to know if this recent change Google has done or what? – Siraj Alam Sep 27 '18 at 7:43
  • 1
    I'm not a Google employee, it could very well be that Gmail is scans the apk and then denying sending/upload to avoid spreading malware. – sudo Sep 27 '18 at 8:01
1

Three methods for transferring touchy files on Gmail :

  1. Compress/zip with a password. This may involve compressing twice, because even with a password Gmail can still see the names of the contained files. So to be safe compress once without password, then compress again the archive with a password.
  2. Send via Google Drive using the "Insert files using Drive" button and upload the file (see article).
  3. A bit farfetched : Append the archive to a small image. Some archive managers like WINRAR can still open the mangled archive (see article).
  • Sending by changing the extension is known. But the issue is arising from some previous days. I want to be sure if this is some update from Google because I was able to send previously. – Siraj Alam Sep 27 '18 at 7:45
  • It is no wonder that .apk entered the list, as Google is doing its best to force the use of only its Play Store. If you are having this problem, everyone must be having it. – harrymc Sep 27 '18 at 7:59
0

Just rename the file so that it's extension is AP_. Gmail won't have a problem with this, and when the recipient gets this file, he need only rename it back to an APK extension.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.