Riolu will evolve into Lucario if it has at least 220 Friendship in any game.
So if the Happiness Checker says "It's very friendly towards you. I can tell you treat it kindly." or "It simply adores you! Why, I feel like I am intruding!"
Also, every Pokémon that evolves by Friendship can evolve if it has at least 220 Friendship.
If it doesn't evolve after the Happiness Checker says "It's very friendly towards you. I can tell you treat it kindly.", then it probably isn't at 220 Happiness yet, as when they say that it could be anywhere from 200 to 254 Happiness when it's evaluated.
Hope I helped!
My Source.