Failed to resolve: com.android.support.design:25.4.0

后端 未结 11 1367
误落风尘
误落风尘 2020-12-01 07:30

I added the following line to my build.gradle(Module:app):

compile \'com.android.support:design:25.4.0\' 

But when executing Gradle I\'m ge

11条回答
  •  温柔的废话
    2020-12-01 07:58

    Above answers did't resolve anything for me.

    • Tried syncing the project- Failed.
    • Tried building the project -Failed

    Problem found :

    Sdk Support Repository was corrupted

    .

    Fix:

    Go to the SDK manager, click the "SDK Tools" tab. If the check-mark for "Support Repository" is selected, unselect it and click OK. This will delete all of the files in the repository. Then recheck the check-mark, click GO and reinstall the repository.

提交回复
热议问题