「.NET 開発基盤部会 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。
良くハマるので。
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
cd C:\Program Files (x86)\Android\android-sdk\tools\bin
sdkmanager --list Available Packages: Path | Version | Description ------- | ------- | ------- ・・・ platforms;android-26 | 2 | Android SDK Platform 26 | platforms\android-26\ ・・・
sdkmanager "platforms;android-26" Accept? (y/N): y done
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を修正してみる。