Android Studio could not find any version that matches com.android.support:appcompat-v7:23.+

后端 未结 5 2295
温柔的废话
温柔的废话 2021-02-19 22:41

New to Android Studio. After setting everything up I tried to run a basic project and keep getting this error. I changed my appcompat version to 7.22.+ and it builds. Can anyone

5条回答
  •  广开言路
    2021-02-19 23:06

    Make sure you have downloaded Android Support Repository (not only Android Support Library) - launch the SDK Manager (from your android-sdk location, on Windows must be as administrator, otherwise it might not connect) and look in the Extras section if you have both these components installed (I'm assuming you already have the Android SDK of the desired API level). Restart your IDE and it should work.

提交回复
热议问题