The difference was two different moderators. :-)
Your first "very low quality" flag was declined by moderator A, who simultaneously declined someone else's "not an answer" flag on that same answer.
Your second "not an answer" flag was accepted by moderator B, who simultaneously accepted someone else's "not an answer" flag on that same answer.
The reason I bring this up is to say two things:
Practically speaking, there is no difference in how moderators handle "very low quality" and "not an answer" flags.
Both types of flags mean, "this does not answer the question and/or has serious quality problems, making it in need of immediate deletion". That's how they're interpreted by moderators, and they're processed virtually identically. The fact that the moderator who declined your "very low quality" flag also declined a "not an answer" flag for exactly the same reason is compelling evidence of this.
Since moderators are humans, and flags are subjective, there is going to be some natural variation in how flags are interpreted/handled.
This scenario proves it, where you basically raised the same flag twice, back to back, on the same answer, with no intervening edits, and yet the flags were handled in two different ways by two different moderators each using their own judgment.
I was neither moderator A nor moderator B in this scenario, but I can totally understand why moderator A declined the flag for the reason given. It looks like the answer is proposing a solution to the problem: "indicate to your IDE the version of your NDK in bluil.gradel". I have no idea whether that is the correct answer or not, but it is not the job of moderators to judge the technical accuracy of answers. The person even says, in comments underneath his own answer:
No it's a answer for the question, to solve this problem you must indicate to your application the version of your NDK in bluid.gradel in this case 21.0.6113669. the IDE take a default version the last one worked all this is caused by the upgrade of gradel.
So it makes sense that the "not an answer" flag would be declined. You say that the answer is "just like a comment", but I don't see anything in there that would be appropriate in a comment. If it's an attempt to answer the question, then it should be posted as an answer.
Related reading: When to flag an answer as "not an answer"?
Frankly, looking at this more carefully, I don't really understand the decision of moderator B to delete this answer. It doesn't look like something that moderators would generally delete in response to any kind of flag.
Especially since the answer has now been edited by its original author to add a code snippet, I think this definitely qualifies as an answer by our standards, so I've undeleted it. (I've also deleted the comment that I quoted above, and others, since the undeletion of the answer made them obsolete.)