Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Ati97 |
Hello guys,
Today when i tried to “one click deploy” my project to my android device as usual, it failed…
displaying the following:
Task :copyAndRenameDebugApk FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:copyAndRenameDebugApk’.
Could not copy file ‘C:\Godot\Projects\Orszag Varos\android\build\build\outputs\apk\debug\android_debug.apk’ to ‘C:\Users\Ati\AppData\Local\Temp\Godot\tmpexport.1627199705.apk’.
Problems opening file input stream for file: C:\Godot\Projects\Orszag Varos\android\build\build\outputs\apk\debug\android_debug.apk
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. - Get more help at https://help.gradle.org
BUILD FAILED in 2s
1 actionable task: 1 executed
Exit Code: 1
After this i got a notification from windows, that Windows Defender detected a virus!
Trojan:Script/Oneeva.A!ml
C:\Godot\Projects\OrszagVaros\android\build\build\outputs\apk\debug\android_debug.apk
I am using only one plugin for my custom build which is GodotAdMob.5.0.0.release to display ads, but I have been using it in my project for a year now and have not had such a problem so far…
The dangerous file is immediately quarantined and therefore cannot complete the build.
I ran a full scan on my system and nothing else is detected.
What do you think this could be?