Android Licensing Files
When building my Android project I am getting this error message.
Checking the license for package Android SDK Build-Tools 25.0.3 in C:\Android\android-sdk\licenses
Warning: License for package Android SDK Build-Tools 25.0.3 not accepted.
Checking the license for package Android SDK Platform 25 in C:\Android\android-sdk\licenses
Warning: License for package Android SDK Platform 25 not accepted.
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'TestScrum'.
You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 25.0.3, Android SDK Platform 25].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
I check Android SDK manager and it says I have Android SDK Platform 25 installed.
C:\Android\android-sdk\licenses and sure enough it's missing the licenses folder. I installed all the missing components in the Android SDK manager that I can think of... no luck.
I try the following command
> C:\Android\android-sdk\tools\bin\sdkmanager.bat --update
Voila! I license file is created in