Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error ' licences have not been accepted' when running gradlew tests #16

Closed
eyal919 opened this issue Jan 27, 2019 · 3 comments
Closed

Comments

@eyal919
Copy link

eyal919 commented Jan 27, 2019

when trying to run some tests using gradlew i'm getting the next error:
Can anyone please help?
Thanks

14:47:51 Checking the license for package Android SDK Build-Tools 28.0.3 in /opt/android-sdk/licenses
14:47:51 Warning: License for package Android SDK Build-Tools 28.0.3 not accepted.
14:47:51 Checking the license for package Android SDK Platform 27 in /opt/android-sdk/licenses
14:47:51 Warning: License for package Android SDK Platform 27 not accepted.
14:47:51
14:47:51 FAILURE: Build failed with an exception.
14:47:51
14:47:51 * What went wrong:
14:47:51 A problem occurred configuring project ':android-sdk'.
14:47:51 > Failed to install the following Android SDK packages as some licences have not been accepted.
14:47:51 platforms;android-27 Android SDK Platform 27
14:47:51 build-tools;28.0.3 Android SDK Build-Tools 28.0.3
14:47:51 To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
14:47:51 Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
14:47:51
14:47:51 Using Android SDK: /opt/android-sdk

@eyal919
Copy link
Author

eyal919 commented Jan 27, 2019

may related to: #15

@thyrlian
Copy link
Owner

Hi @eyal919, yes, you're right. Please wait for the merging of this PR, thank you.

@thyrlian
Copy link
Owner

thyrlian commented Feb 4, 2019

Fixed by PR#17

@thyrlian thyrlian closed this as completed Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants