私はAndroidが初めてです(ちょうど最近開始しました)。私は私のアプリのbuild.gradle
ファイルへの依存性に次の追加:装備されていない装備の依存関係。ビルドの失敗
compile 'com.squareup.retrofit2:retrofit:2.0.2'
compile 'com.squareup.retrofit2:converter-gson:2.0.2'
ビルドが失敗し、私は次のエラーメッセージが出ます:
Error:A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_debugApkCopy'. Could not resolve com.squareup.retrofit2:retrofit:2.0.2. Required by: MedicalRecordTrackingSystem:app:unspecified Could not resolve com.squareup.retrofit2:retrofit:2.0.2. Could not get resource ' https://jcenter.bintray.com/com/squareup/retrofit2/retrofit/2.0.2/retrofit-2.0.2.pom '. Could not GET ' https://jcenter.bintray.com/com/squareup/retrofit2/retrofit/2.0.2/retrofit-2.0.2.pom '. jcenter.bintray.com Could not resolve com.squareup.retrofit2:converter-gson:2.0.2. Required by: MedicalRecordTrackingSystem:app:unspecified Could not resolve com.squareup.retrofit2:converter-gson:2.0.2.
私は何をすべきか?
あなたのGradleはリポジトリを解決できないように見えますuがフルGradleのファイル(それらの両方投稿してください可能性 - アプリとプロジェクトを) –