Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.> Failed to install the following Android SDK packages as some licences have not been accepted.build-tools;29.0.2 Android SDK Build-Tools 29.0.2 code example
Example: Failed to install the following Android SDK packages as some licences have not been accepted. build-tools;28.0.3 Android SDK Build-Tools 28.0.3 platforms;android-29 Android SDK Platform 29
%ANDROID_HOME%/tools/bin/sdkmanager --licenses