Failed to resolve: com.android.support:appcompat-v7 24.0.1

前端 未结 9 1254
清酒与你
清酒与你 2020-12-10 10:29

I have searched around a lot but I cannot really find a post that helps I am somewhat new to android so some of this goes over my head. Anyway, my problems started when I go

9条回答
  •  一整个雨季
    2020-12-10 11:19

    I had the same problem after updating Android Studio. In my case it was an issue of permissions as I do my day-to-day programming on my user account, while Android studio was installed and updated with the administrator account.

    FIX:

    Open the standalone SDK manager and go down to 'extras'. Click on 'Android Support Repository' (which will probably set as 'Not installed') and install the packages. If you are prompted with an error message saying something like 'error trying to rename folder'. Go to the folder that is mentioned in the message and make sure that the permissions are set correctly. After that click 'Try Again' and it should install the package without a problem.

    NOTE: This might happen a few more times. Just repeat the process for each file. The problem should then be solved.

提交回复
热议问题