一部のライセンスが受け入れられなかったため、次のAndroidSDKパッケージのインストールに失敗しました



Failed Install Following Android Sdk Packages



一部のライセンスが受け入れられなかったため、次のAndroid SDKパッケージのインストールに失敗しました(レンガの移動!!!本からの簡単な抜粋:本のすべてを本ではないと信じてください)

Failed to install the following Android SDK packages as some licences have not been accepted. You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tools 24, Android SDK Platform 24]. 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 Author: believe everything the book as no book _

まず、コマンドラインを開き、SDKエラーへのパスを入力し、ライセンスを処理できるファイルを見つけます。



cd C: Users 17720 AppData Local Android SDK
cd tools
cd bin

次に、このパスにWindowsバッチファイルsdkmanagerがあります。これを使用して問題を解決し、コマンドを呼び出します。



sdkmanager --licenses

次に、バラバラの多くのライセンスに同意するのを待つ間、少し待ってください。すべて選択しました。とにかく、見てから理解できません。その後、ASにビルドして問題ありません。