ANDROID PACKAGING ERROR

It could be caused by an incorrect or outdated Gradle version, or by missing dependencies in the project. Another possible cause could be a problem with the Android SDK, such as missing or outdated components.

I suggest trying to package a completely blank project, let me know if you get the same errors then.