Android support library error after updating to 23.3.0

后端 未结 13 789
南笙
南笙 2020-11-30 02:28

I have been using android support v4 23.1.1 and recently tried to update it to 23.3.0 ( the latest one when this was asked) but I got the following error:

13条回答
  •  伪装坚强ぢ
    2020-11-30 02:47

    For those who still facing the problem, above answer did not help me in android studio 2.2 Preview.

    add this to your gradle file.

    configurations.all {
      resolutionStrategy {
        force 'com.android.support:support-annotations:23.1.1'
     }
    }
    

    This fixed my issue.

    Reference: https://github.com/JakeWharton/u2020/blob/05a57bf43b9b61f16d32cbe8717af77cd608b0fb/build.gradle#L136-L140

提交回复
热议问题