gpt4 book ai didi

android - Jitpack:由于未接受某些许可证,无法安装以下 Android SDK 包

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:48:57 25 4
gpt4 key购买 nike

我已经用谷歌搜索了,有人说在尝试了几次之后,通过创建一个新版本就解决了,但它似乎对我不起作用。

我该如何解决?

* 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://issuetracker.google.com/issues/123054726

作为解决方法,我单独安装了它。即

$ yes | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-27"
$ yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;27.0.3"

关于android - Jitpack:由于未接受某些许可证,无法安装以下 Android SDK 包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54268074/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com