Warning: License for package Android SDK Platform 35 not accepted.
FAILURE: Build failed with an exception.
- What went wrong:
Could not determine the dependencies of task ‘:app:lintVitalReportRelease’.
Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;34.0.0 Android SDK Build-Tools 34
platforms;android-35 Android SDK Platform 35
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
All licenses can be accepted using the sdkmanager command line tool:
sdkmanager.bat --licenses
Or, to transfer the license agreements from one workstation to another, see Update the IDE and SDK tools | Android Studio | Android Developers