0
私はFirebaseでアプリケーションを接続する必要のある私のプロジェクトを今学校で働いています。私はAndroid Studio 2.3.3を使用しています。 Firebase Assistantを使用して、アプリとFirebaseの接続中に問題はありません。依存関係を追加すると、私のgradleはこのエラーで失敗しました。Error:接続がタイムアウトしました:connect
build.gradle(モジュール:アプリが)、私はこのエラーを得たものの、エラーが
Error: Connection timed out: connect
で、それはアシスタントに用
Dependencies are setup correctly.
感謝を示し
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.example.user.conread"
minSdkVersion 19
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-auth:10.0.1'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
を提出しますあなたの助け。
理想的には、Andrew Studioを3.0にアップデートしてください... –
あなたのbuild.gradleファイルを共有してください。エラーは何ですか? –
あなたのリポジトリにGoogle()リポジトリを追加しましたか? – Fakher