2024年8月9日
AndroidStudioで「Could not find any version that matches…」エラーが出たので対処

久しぶりに Android Studio と Android SDK をアップデートしたら、ビルド時にこんなエラーが出るようになったので対処しました。
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not find any version that matches com.android.support:appcompat-v7:19.+.
Required by:
***APPNAME***:app:unspecifiedAndroid Studio のツールバー →「SDK Manager」から、
- Android Support Repository
- Android Support Library
- Google Repository
にチェックを入れてインストールして解決。

ググっても「Google Repository」にチェックを入れればOK。みたいな感じだったのでちょっと悩みました。
最低限、何が必要なのかまでは確認していませんが、とりあえずこれだけチェックを入れたら動いたのでメモ。
あきたじゅん says:
11年前
まさに掲題のエラーに悩まされておりました。
ありがとうございました!