###前提・実現したいこと
サンプルのプログラムを実行してみたいが
android-25関連のものが見つからないエラー?
全く対処法が検討つかない為ご教示お願致します。
###発生している問題・エラーメッセージ
Error:failed to find target with hash string 'android-25' in: C:\Users\user\AppData\Local\Android\Sdk Possible cause: Build properties not found for package Android SDK Platform 25 <a href="install.android.platform">Install missing platform(s) and sync project</a>
###build.gradle
apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "com.delaroystudios.firebasechat" minSdkVersion 15 targetSdkVersion 25 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:25.3.0' compile 'com.android.support:design:25.1.1' //firebase related dependencies compile 'com.google.firebase:firebase-database:9.6.1' compile 'com.google.firebase:firebase-messaging:9.6.1' compile 'com.google.firebase:firebase-auth:9.6.1' //okhttp compile 'com.squareup.okhttp3:okhttp:3.4.1' //event bus compile 'org.greenrobot:eventbus:3.0.0' } apply plugin: 'com.google.gms.google-services'
###試したこと
指定されたフォルダ(C:\Users\user\AppData\Local\Android\Sdk)build-toolsに25.0.025.0.3まであるのは確認しました、SDK ToolsやPlatformsにて25すべてインストール済みですがエラーが起きます、「Install missing platform(s) and sync project」をクリックしてみてもインストールはされているので反応はありませんでした。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。