Cannot build androidEmptyExample

#1

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?

#2

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