githubでダウンロードしたものをビルドしようとしたら次のようなエラーが出ました。
どなたか解決策を教えてください。
ちなみにこちらのgithubのファイルです。
ここからダウンロードして、実機に入れれるように勘で設定していたら、mytest/build.gradleが生成されていてそこが不具合を起こしているみたいでした。
build.radle
1apply plugin: 'com.android.application' 2 3android { 4 compileSdkVersion 23 5 buildToolsVersion "23.0.1" 6 7 defaultConfig { 8 applicationId "com.example.nakatsuruyasutaka.mytest" 9 minSdkVersion 16 10 targetSdkVersion 23 11 versionCode 1 12 versionName "1.0" 13 } 14 buildTypes { 15 release { 16 minifyEnabled false 17 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 } 19 } 20} 21 22dependencies { 23 compile fileTree(dir: 'libs', include: ['*.jar']) 24 testCompile 'junit:junit:4.12' 25 compile 'com.android.support:appcompat-v7:23.1.0' 26}
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/11/09 05:40
2015/11/09 09:01