.NET 開発基盤部会 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。

目次

概要

良くハマるので。

A problem occurred configuring project ':CordovaLib?'.

You have not accepted the license agreements of the following SDK components:

エラー・メッセージ

FAILURE: Build failed with an exception.

Warning: License for package Android SDK Build-Tools 26.0.2 not accepted.
Checking the license for package Android SDK Platform 26 in C:\Program Files (x86)\Android\android-sdk\licenses
Warning: License for package Android SDK Platform 26 not accepted.
* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> You have not accepted the license agreements of the following SDK components:
  [Android SDK Platform 26, Android SDK Build-Tools 26.0.2].
  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

解決

参考

Failed to install the following SDK components:

エラー・メッセージ

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> Failed to install the following SDK components:
  [Android SDK Build-Tools 26.0.2]
  The SDK directory (C:\Program Files (x86)\Android\android-sdk) is not writeable,
  please update the directory permissions.

解決

下記の参考情報に、

「config.xmlとpackage.jsonにversion / specの^または〜が含まれていないことを確認」

とある。

config.xmlとpackage.jsonを修正してみる。

参考


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS