Android Question Virus message during compilation

yo3ggx

Active Member
Licensed User
Longtime User
Doing a few minutes ago a compilation like usual (after many others previously) , I started to get the message below.

B4A Version: 11.80
Parsing code. (0.64s)
Java Version: 11
Building folders structure. (0.08s)
Compiling code. (1.01s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Running custom action. (0.61s)
Compiling resources (0.08s)
Linking resources (0.73s)
Compiling debugger engine code. (12.17s)
Compiling generated Java code. (11.87s)
Finding libraries that need to be dexed. (0.03s)
Dex code (8.42s)
Dex merge (7.41s)
Copying libraries resources Error
Operation did not complete successfully because the file contains a virus or potentially unwanted software.

During the compilation, Windows security reports a severe alert about the file:
\Objects\bin\temp.ap_
containing a Trojan:Script/Wacatac.h!ml

Trying to clean the project, then to remove all subfolders from Objects except res and rebuild, but still the same issue.
If I run a virus scan after removing the subfolders, nothing reported.

Then I restarted B4A and I was able to compile without any error.
But after 3 or 4 compilations, started to get the message again.

No issue with other B4A applications I'm trying to recompile.

What can be the cause? Didn't changed anything in the project except some corrections in the code.
 
Last edited:

yo3ggx

Active Member
Licensed User
Longtime User
Just an observation. The issue appears only if I compile in Debug mode. In Release mode everything is ok. Really strange.
 
Upvote 0

yo3ggx

Active Member
Licensed User
Longtime User
Without doing anything in between, today I was able to compile in debug mode without errors and without adding something in the exclusion list. Very strange
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
Very strange
Not really. Anti-virus look for patterns of code that might be malware but they aren't always correct. As you edit your code the patterns of instructions in the code change and so what the anti-virus might pick out on one version vanishes as you change the code during development.
 
Upvote 0

yo3ggx

Active Member
Licensed User
Longtime User
Yesterday I tried to do multiple changes in the code in the hope that this is the reason, but still the same error each time.
Then closed B4A.
Today, at first try, I was able to compile in debug mode without any error.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…