Tom King
New member
- Joined
- Apr 2, 2018
- Messages
- 14
Hi,
Anyone else get this error on build? I have followed the instructions around installing JDK and Android studio. When I build in Cerberus, I get the following error. Any help would be appreciated
-------------------
Checking the license for package Android SDK Build-Tools 26 in D:\Program Files\Android\Android Studio\licenses
Warning: License for package Android SDK Build-Tools 26 not accepted.
Checking the license for package Android SDK Platform 26 in D:\Program Files\Android\Android Studio\licenses
Warning: License for package Android SDK Platform 26 not accepted.
BUILD FAILED
Total time: 4.506 secs
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 26, Android SDK Build-Tools 26].
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
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
TRANS FAILED: Android build failed.
Done.
Anyone else get this error on build? I have followed the instructions around installing JDK and Android studio. When I build in Cerberus, I get the following error. Any help would be appreciated
-------------------
Checking the license for package Android SDK Build-Tools 26 in D:\Program Files\Android\Android Studio\licenses
Warning: License for package Android SDK Build-Tools 26 not accepted.
Checking the license for package Android SDK Platform 26 in D:\Program Files\Android\Android Studio\licenses
Warning: License for package Android SDK Platform 26 not accepted.
BUILD FAILED
Total time: 4.506 secs
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 26, Android SDK Build-Tools 26].
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
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
TRANS FAILED: Android build failed.
Done.