日々精進

新しく学んだことを書き留めていきます

2014-11-22から1日間の記事一覧

./gradlew buildを実行すると「SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.」エラー

原因はlocal.propertiesがプロジェクトルートに無いこと。 local.propertiesを作り、中身を以下のようにすればよい。 ## This file is automatically generated by Android Studio. # Do not modify this file -- YOUR CHANGES WILL BE ERASED! # # This fil…