我用谷歌搜索过,有人说经过几次尝试并通过创建新版本已修复,但它似乎对我不起作用。
我该如何解决这个问题?
* What went wrong:
A problem occurred configuring project ':analytics'.
> Failed to notify project evaluation listener.
> Failed to install the following Android SDK packages as some licences have not been accepted.
platforms;android-27 Android SDK Platform 27
build-tools;27.0.3 Android SDK Build-Tools 27.0.3
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Using Android SDK: /opt/android-sdk-linux
> Cannot add task ':analytics:install' as a task with that name already exists.
> Could not get unknown property 'androidJavadocs' for project ':analytics' of type org.gradle.api.Project.
https://jitpack.io/com/github/littlehome-eugene/analytics-android/1.0/build.log https://jitpack.io/com/github/littlehome-eugene/analytics-android/1.0/build.log
你很可能遇到过:https://issuetracker.google.com/issues/123054726 https://issuetracker.google.com/issues/123054726
作为解决方法,我单独安装了它。 IE。
$ yes | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-27"
$ yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;27.0.3"
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)