Viruses endanger an Android device if an apk file gets downloaded from any suspicious sites. So, always make sure to download anything from particular trustworthy sources. Still, if you are doubtful regarding the safety of an Apk file, you can use particular tools to test the safety features of that file.