I found the solution after reviewing the code.because i was adding extra library as revmob with admob library.So need to remove extra code and unwanted library like admob,remob etc.
I hope this will help others.Thanks!
Question
I am very confused why the gmail apk attachment showing as virus detected. Actually i implemented admob in android application and signed it.But while sending it getting issue.
If anyone have idea. Please reply.Thanks in advance!
Solution 2
I found the solution after reviewing the code.because i was adding extra library as revmob with admob library.So need to remove extra code and unwanted library like admob,remob etc.
I hope this will help others.Thanks!
OTHER TIPS
Supposing you indeed didn't implement something nasty, it's clearly a false positive. As virus/malware keeps continuously changing, Google, as many other mail providers, implement Heuristics to catch all that bad stuff - so basically they are general pattern implementations. The good side of this approach is that it doesn't have to be implemented for each virus/malware specifically. The bad side is what you just experimented, a false positive.
I had the same problem, in my case what caused the virus detection was the word "gif" in a file name: slider_gif.html
I know it does not make any sense but when I renamed the file (removed the word "gif" ) the virus detection disapeared...
Gmail restrict binary files such as *.exe *.so *.dll etc...
I suggest to use Google-drive to upload files than join the link in your mail message. this will allow you to share any binary files including the *.so in your apk archive.