サンプルをビルドすると[Gradle Build]のタブに次のメッセージが・・・
1 2 3 4 5 6 7 | Error:FAILURE: Build failed with an exception. * What went wrong: Task '' not found in root project 'ActionBarCompat-Basic'. * Try: Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. |
[Gradle Sync]のタブにはこんなメッセージが出現
1 2 | Error:failed to find Build Tools revision 21.1.1 Install Build Tools 21.1.1 and sync project |
画面のリンクをクリックしてBuild Toolsをインストールしたら解決しましたが、Android Studioはサンプルプログラムのビルドからうまくいかないことが多い!