It's definitely not a virus. It must be a false positive by MalwareBytes. I guess it's also possible that your system is infected, and it also infected the APK that you downloaded to your system.
If you did a debug or unsigned APK export for testing, it is probably not trusted since it is missing the digital signature that verifies the author. You might need to enable some extra developer settings on your device to allow testing unsigned APKs.