2017-04-24 5 views
0

は私のプロジェクトをビルドするトリングイムは、それは私にカントビルドは10

Checking the license for package Android SDK Build-Tools 23.0.1 in C:\Users\ASUS\AppData\Local\Android\Sdk\tools\licenses 
Warning: License for package Android SDK Build-Tools 23.0.1 not accepted. 
Checking the license for package Android SDK Platform 23 in C:\Users\ASUS\AppData\Local\Android\Sdk\tools\licenses 
Warning: License for package Android SDK Platform 23 not accepted. 

FAILURE: Build failed with an exception. 

* What went wrong: 
A problem occurred configuring project ':app'. 
> You have not accepted the license agreements of the following SDK components: 
[Android SDK Platform 23, Android SDK Build-Tools 23.0.1]. 
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 

このエラーをgevingときにWindowsでAndroid向けのネイティブプロジェクトを反応させるが、私は、SDKのパスにforderライセンスを追加してみました私のskdプラットフォームとSDKツール。しかし、私はまだこのエラーを取得しています。私はこれを修正することができます。

答えて

0

Androidツールのdirecoryからandroid.batを使用し、それを使用してすべての依存関係をインストールしてください。ダウンロード/インストール時にライセンスを受け入れるよう求められます。

+0

Android.batファイルから依存関係をインストールするにはどうすればよいですか? –

+0

android.batファイルを実行するだけで、必要な依存関係を選択できるUIが表示されます。その後、Android SDK Platform 23をインストールします。 – DKIT

+0

batファイルを実行しましたが、interface.itsが消えていませんでした –