2017-09-19 17 views
-1

私はAPKを構築するには、Android --releaseコマンドイオンビルドを実行しようとしているが、私はこのエラービルドは例外で失敗しました[AndroidのSDKプラットフォーム25]

BUILD FAILED

Total time: 2.623 secs Error: cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring root project 'android'. You have not accepted the license agreements of the following SDK components: [Android SDK Platform 25]. 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

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

enter image description here

を取得しています誰かが私を助けてくれてありがとうございました。

+1

上記のログでは、SDKのインストール中にライセンス契約に同意しなかったことが明らかです。 – Danger

+1

@Muhammadインストール中にAndroid SDkバージョン25をインストールしてライセンスを受け入れる – Gandhi

+0

どうすればよいですか? @Danger –

答えて

2

インストール中に使用許諾契約に同意しましたか?そうでない場合は、アンインストールしてから再インストールしてください。今回は使用許諾契約に同意します。

+0

こんにちは、何がアンインストールされていますか?私は理解していませんよ、 –

+0

平均してAndroid SDKを完全に削除してから、再インストールしてください。 –

+0

** SOLDVED ** SDKマネージャからAndroid SDKプラットフォーム25をインストールすると –

関連する問題