Strange message

hello sorry I am new to anti virus software. I have an Android and on Tuesday afternoon a message told me that I had installed an unreliable application. but I hadn't touched my phone in a long time. Is it possible that a malicious application installed itself? and is it possible that the analysis does not detect it? Thanks for your help. David