Android Packaging isn't working because of Gradle

Go to Project Settings -> Android -> and click on button “Accept SDK License”.