To evolve Riolu to Lucario you must first obtain enough happiness, then level it up.My advice to evolve Riolu is to go down cycling road, don't use repel though because you have to level it up so you can tell when it has enough happiness.That's how to evolve Riolu into Lucario.