The most common reason for this error can be the usages of outdated Android SDK tools that are unable to understand the most recent "SDK XML" files.
You should update your SDK tools to the most recent version that supports the "SDK XML", Version 3 should solve the problem.
This is a possible procedures to upgrade your SDK tools:
- Open
Android Studio.
- Go to
File->Settings->Appearance & Behaviour->System Settings->Android SDK.
- Open
SDK Manager and select SDK Tools.
- Check the
Android SDK Built-Tools.
- If it's not updated, select the latest version and click
Apply to install it.
- When the installation is completed, restart
Android Studio.
- Try to
rebuild your Application.
You can also try Invalidate Caches and to clone the project again.
Also check this Update the IDE and SDK tools and this sdk - How to update Android Studio automatically?