Cannot build androidEmptyExample

I just followed the instructions from https://openframeworks.cc/setup/android-studio/ but I get the following error:

Does anyone know how to fix this?

I solved it by installing Android Support Repository from Tools >> Android >> SDK Manager.